summaryrefslogtreecommitdiff
path: root/src/xss
diff options
context:
space:
mode:
Diffstat (limited to 'src/xss')
-rw-r--r--src/xss/XSS.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xss/XSS.js b/src/xss/XSS.js
index 51216d8..5b93921 100644
--- a/src/xss/XSS.js
+++ b/src/xss/XSS.js
@@ -58,7 +58,7 @@ var XSS = (() => {
data = [];
} catch (e) {
error(e, "XSS filter processing %o", xssReq);
- if (e instanceof TimingException) {
+ if (e instanceof TimingException && !/\btimeout\b/i.test(e.message)) {
// we don't want prompts if the request expired / errored first
return;
}
@@ -256,6 +256,7 @@ var XSS = (() => {
let ic = new (await this.InjectionChecker)();
let {timing} = ic;
timingsMap.set(request.id, timing);
+ timing.fatalTimeout = true;
let postInjection = xssReq.isPost &&
request.requestBody && request.requestBody.formData &&