TanStackOSS
    router
    fix(router-core): preserve percent-encoded URL-unsafe chars in decodeSegment Replace sanitizePathSegment (which stripped control characters) with a re-encode step that keeps WHATWG path percent-encode set characters and control characters in their encoded form after decodeURI. This preserves the existing decodeURI-based approach which correctly handles multi-byte UTF-8 sequences, while fixing the mismatch between the original request URL and the router's internal representation that caused infinite 307 redirect loops on paths containing these characters. Fixes #7587. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
    nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3
Failed
CI Pipeline Execution

nx affected --targets=test:eslint,test:unit,test:e2e,test:types,test:build,build --parallel=3

Click to copy
read access token used
f736a2027695
99%

Completed tasks

918 of 919 completed.

<1%

Failed tasks

2 of 919 failed.

<1%

Not executed tasks

1 of 919 tasks were not executed.

<1%

Potential flaky tasks

1 of 919 tasks retried.

15%

Cache hits

142 of 919 tasks used cache.

94%

Distribution saved time

13m 10s instead of 3h 30m 03s.

© 2026 - Nx Cloud

Terms of ServicePrivacy PolicyChangelogStatusDocsContact Nx CloudPricingCompany@NxDevTools