mirror of
https://github.com/element-hq/element-web
synced 2024-11-26 03:05:51 +03:00
PPI->PII
This commit is contained in:
parent
6b0af81f71
commit
053ef0bc0a
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ const hashVarRegex = /#\/(group|room|user)\/.*$/;
|
|||
|
||||
// Remove all but the first item in the hash path. Redact unexpected hashes.
|
||||
function getRedactedHash(hash) {
|
||||
// Don't leak URLs we aren't expecting - they could contain tokens/PPI
|
||||
// Don't leak URLs we aren't expecting - they could contain tokens/PII
|
||||
const match = hashRegex.exec(hash);
|
||||
if (!match) {
|
||||
console.warn(`Unexpected hash location "${hash}"`);
|
||||
|
|
Loading…
Reference in a new issue