mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-11 17:29:48 +01:00
Decrypt: user content
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
throw new Error('Password required');
|
||||
|
||||
const dirty = await _decrypt(form.password.value);
|
||||
const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true } });
|
||||
const clean = DOMPurify.sanitize(dirty, { USE_PROFILES: { html: true }, SANITIZE_NAMED_PROPS: true });
|
||||
|
||||
form.password.value = '';
|
||||
message.innerHTML = clean;
|
||||
|
||||
Reference in New Issue
Block a user