mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 14:23:32 +00:00
trim /! from start of pages
This commit is contained in:
@@ -41,6 +41,9 @@
|
|||||||
if (paramIndex > -1) {
|
if (paramIndex > -1) {
|
||||||
pagePath = pagePath.substring(0, paramIndex);
|
pagePath = pagePath.substring(0, paramIndex);
|
||||||
}
|
}
|
||||||
|
if (pagePath.indexOf('/!/') === 0) {
|
||||||
|
pagePath = pagePath.substring(2);
|
||||||
|
}
|
||||||
return encodeURIComponent(pagePath);
|
return encodeURIComponent(pagePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user