@tanstack/[email protected]
@tanstack/[email protected]
@tanstack/react-start
Release Notes
Patch Changes
#7695
9809a06- fix(router-core): re-encode URL-unsafe characters insanitizePathSegmentto 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.