mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-04 05:08:06 +02:00
trim /!
from start of pages
This commit is contained in:
parent
77d2218ff9
commit
1cdf7924fc
@ -41,6 +41,9 @@
|
||||
if (paramIndex > -1) {
|
||||
pagePath = pagePath.substring(0, paramIndex);
|
||||
}
|
||||
if (pagePath.indexOf('/!/') === 0) {
|
||||
pagePath = pagePath.substring(2);
|
||||
}
|
||||
return encodeURIComponent(pagePath);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user