summaryrefslogtreecommitdiff
path: root/src/xss
diff options
context:
space:
mode:
authorhackademix2018-08-23 15:33:47 +0200
committerhackademix2018-08-23 15:33:47 +0200
commit80e1f10db51a4f78b3c89df5e347185a5ba16cb4 (patch)
tree1e8de529aa29a54cc54d620b8beaa5336acb29a7 /src/xss
parenta874f6031ccca40362b9f3127f3b32097af83731 (diff)
downloadnoscript-80e1f10db51a4f78b3c89df5e347185a5ba16cb4.tar.gz
noscript-80e1f10db51a4f78b3c89df5e347185a5ba16cb4.tar.xz
noscript-80e1f10db51a4f78b3c89df5e347185a5ba16cb4.zip
Fixed typo in XSS name sanitization script injection (thanks skriptimaahinen).
Diffstat (limited to 'src/xss')
-rw-r--r--src/xss/XSS.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xss/XSS.js b/src/xss/XSS.js
index 89f13f7..f95ea04 100644
--- a/src/xss/XSS.js
+++ b/src/xss/XSS.js
@@ -61,7 +61,7 @@ var XSS = (() => {
let block = !!(reasons.urlInjection || reasons.postInjection)
if (reasons.protectName) {
- await include("bg/COntentScriptOnce.js");
+ await include("bg/ContentScriptOnce.js");
await ContentScriptOnce.execute(request, {
js: [{file: "/xss/sanitizeName.js"}],
});