mirror of
https://github.com/TanStack/router.git
synced 2026-11-16 19:38:07 +00:00
* 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> * ci: apply automated fixes --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: Flo <me@florianpellet.com> |
History
|
|
|---|---|---|
| .. | ||
| arktype-adapter | ||
| eslint-plugin-router | ||
| eslint-plugin-start | ||
| history | ||
| nitro-v2-vite-plugin | ||
| react-router | ||
| react-router-devtools | ||
| react-router-ssr-query | ||
| react-start | ||
| react-start-client | ||
| react-start-rsc | ||
| react-start-server | ||
| router-cli | ||
| router-core | ||
| router-devtools | ||
| router-devtools-core | ||
| router-generator | ||
| router-plugin | ||
| router-ssr-query-core | ||
| router-utils | ||
| router-vite-plugin | ||
| solid-router | ||
| solid-router-devtools | ||
| solid-router-ssr-query | ||
| solid-start | ||
| solid-start-client | ||
| solid-start-server | ||
| start-client-core | ||
| start-fn-stubs | ||
| start-plugin-core | ||
| start-server-core | ||
| start-static-server-functions | ||
| start-storage-context | ||
| valibot-adapter | ||
| virtual-file-routes | ||
| vue-router | ||
| vue-router-devtools | ||
| vue-router-ssr-query | ||
| vue-start | ||
| vue-start-client | ||
| vue-start-server | ||
| zod-adapter | ||