From cc4493a802f156705fa58af2fa8c25b3c59c1d17 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 19 Oct 2022 18:27:11 +0200 Subject: [PATCH] Decrypt: user content --- decrypt/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decrypt/index.html b/decrypt/index.html index 10bfe64959..3fe49bf318 100644 --- a/decrypt/index.html +++ b/decrypt/index.html @@ -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;