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.
2 parents 6cba723 + 44c7355 commit 2957ad1Copy full SHA for 2957ad1
src/Router/utils/route.js
@@ -59,7 +59,7 @@ export const getRouteByHash = hash => {
59
// @todo: clean up on handleHash
60
hash = hash.replace(/^#/, '')
61
62
- const getUrlParts = /(\/?:?[@!*\w%\s:-]+)/g
+ const getUrlParts = /(\/?:?[^/]+)/g
63
// grab possible candidates from stored routes
64
const candidates = getRoutesByFloor(getFloor(hash))
65
// break hash down in chunks
0 commit comments