Skip to content

Commit 44c7355

Browse files
Implemented SDKCLI-15,
URL accepting only certain characters Now udpated it to accept all types except / Signed-off-by: suresh-gangumalla <[email protected]>
1 parent 21516d2 commit 44c7355

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Router/utils/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export const getRouteByHash = hash => {
5959
// @todo: clean up on handleHash
6060
hash = hash.replace(/^#/, '')
6161

62-
const getUrlParts = /(\/?:?[@!*\w%\s:-]+)/g
62+
const getUrlParts = /(\/?:?[^/]+)/g
6363
// grab possible candidates from stored routes
6464
const candidates = getRoutesByFloor(getFloor(hash))
6565
// break hash down in chunks

0 commit comments

Comments
 (0)