From e2b63cf98204a45f4c55ba446689d20e524c188c Mon Sep 17 00:00:00 2001 From: hackademix Date: Mon, 27 Aug 2018 00:31:37 +0200 Subject: Further CSP refactoring and removal of obsolete fallbacks. --- src/xss/sanitizeName.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xss') diff --git a/src/xss/sanitizeName.js b/src/xss/sanitizeName.js index 4f36cbf..2a8acb6 100644 --- a/src/xss/sanitizeName.js +++ b/src/xss/sanitizeName.js @@ -1,4 +1,4 @@ -ns.on("perms", event => { +ns.on("capabilities", event => { if (ns.allows("script")) { let name = ns.getWindowName(); if (/[<"'\`(=:]/.test(name)) { -- cgit v1.2.3