@tanstack/router-core
1.171.39 · 22 Oct 2026MIT30.7M / weekRepositoryHomepagenpmAtom feed
1.171.39 is the newest release of 1.x.
In short
1 fixed
Release note
Patch Changes
router-core: re-encode URL-unsafe characters in
sanitizePathSegmentto prevent infinite redirect loopssanitizePathSegmentnow re-encodes characters in the WHATWG URL "path percent-encode set" (<,>,",`,{,}) and ASCII control characters back to their percent-encoded form, instead of stripping control characters. This prevents mismatches between the original URL and the router's internal representation that previously caused infinite 307 redirect loops on paths containing these characters (e.g./%7B%7Btemplate%7D%7D).Fixes #7587.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.