summaryrefslogtreecommitdiff
path: root/src/xss
diff options
context:
space:
mode:
authorhackademix2020-02-10 08:53:22 +0100
committerhackademix2020-02-10 08:53:22 +0100
commite48c2053dfef4fb9209e3d432738b8fef6b8d507 (patch)
treebbad482f3f6b8601ff1d1ca531758d0a890aed23 /src/xss
parent979334df56e46a1d83e6e87fc8fae41af8eb3186 (diff)
downloadnoscript-e48c2053dfef4fb9209e3d432738b8fef6b8d507.tar.gz
noscript-e48c2053dfef4fb9209e3d432738b8fef6b8d507.tar.xz
noscript-e48c2053dfef4fb9209e3d432738b8fef6b8d507.zip
[XSS] Abort on InjectionChecker timeouts.
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 f41e2a2..aba48ca 100644
--- a/src/xss/XSS.js
+++ b/src/xss/XSS.js
@@ -60,7 +60,7 @@ var XSS = (() => {
error(e, "XSS filter processing %o", xssReq);
if (e instanceof TimingException) {
// we don't want prompts if the request expired / errored first
- return;
+ return ABORT;
}
reasons = { urlInjection: true };
data = [e.toString()];