Merge pull request #15473 from overleaf/jel-remove-encoded-hash

[web] Remove encoded hashtag when checking token hash prefix

GitOrigin-RevId: 2b9c369beceb7897d0f6f165b4c3a70b79c14469
This commit is contained in:
Jessica Lawshe
2023-10-31 09:04:22 +00:00
committed by Copybot
parent 3cd0cefd30
commit a3251394e1
2 changed files with 19 additions and 1 deletions
@@ -291,7 +291,7 @@ const TokenAccessHandler = {
let hashPrefixStatus
if (tokenHashPrefix) {
tokenHashPrefix = tokenHashPrefix.replace('#', '')
tokenHashPrefix = tokenHashPrefix.replace('#', '').replace('%23', '')
}
if (!tokenHashPrefix) {