We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7372aff commit 931d865Copy full SHA for 931d865
contributors.yml
@@ -282,3 +282,4 @@
282
- yuleicul
283
- zeromask1337
284
- zheng-chuang
285
+- dunnai
packages/router/history.ts
@@ -694,6 +694,7 @@ function getUrlBasedHistory(
694
// pre-encode them since they might be part of a matching splat param from
695
// an ancestor route
696
href = href.replace(/ $/, "%20");
697
+ href = typeof to === "string" ? href.replace(/#/, "%23") : href
698
invariant(
699
base,
700
`No window.location.(origin|href) available to create URL for href: ${href}`
0 commit comments