diff options
Diffstat (limited to 'src/xss')
-rw-r--r-- | src/xss/sanitizeName.js | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |