Skip to content
Source
Sign inSign up
TanStack/router

refactor(router-core): more stable url decoding #5663

Mergednlynzaad(GitHub profile, opens in a new tab)merged 14 commits intomain fromrefs/pull/5663/headmerged by nlynzaad(GitHub profile, opens in a new tab)

Showing 17 changed files with 57 additions and 0 deletions (loading 12).

x
0 of 17 viewed, 17 left
e2e/react-router/basic-file-based/src/routeTree.gen.tsModified
View file
27 additions and 0 deletionse2e/react-router/basic-file-based/src/routes/params-ps/index.tsxModified
View file
@@ -51,6 +51,15 @@
</li>
<li>
<Link
+ data-testid="l-to-wildcard-escaped"
+ to="/params-ps/wildcard/$"
+ params={{ _splat: 'test[s\\/.\\/parameter%!🚀]' }}
+ >
+ /params-ps/wildcard/$ with escaped params
+ </Link>
+ </li>
+ <li>
+ <Link
data-testid="l-to-wildcard-prefixfoo"
to="/params-ps/wildcard/prefix{$}"
params={{ _splat: 'foo' }}
@@ -60,6 +69,15 @@
</li>
<li>