Removed auditor key from safe link

This commit is contained in:
Zuzanna 2025-06-11 15:33:22 +02:00
parent 74cca0ec8e
commit bfcfc9b60c
2 changed files with 2 additions and 1 deletions

View File

@ -307,7 +307,7 @@ Version 4: Data URL when not a realtime link yet (new pad or "static" app)
parsed.channel = hash.slice(0, 32);
parsed.key = hash.slice(32, 56);
parsed.version = 0;
parsed.auditorKey = getAuditorKey(hashArr)
parsed.auditorKey = getAuditorKey(hashArr);
return parsed;
}

View File

@ -632,6 +632,7 @@ define([
// Use the same options in the full hash
var opts = parsed.getOptions();
parsed = Utils.Hash.parsePadUrl(newHref);
parsedHash = Utils.Hash.parsePadUrl(newHref);
currentPad.href = parsed.getUrl(opts);
currentPad.hash = parsed.hashData && parsed.hashData.getHash(opts);
}