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 21516d2 commit 44c7355Copy full SHA for 44c7355
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