summaryrefslogtreecommitdiff
path: root/src/xss
diff options
context:
space:
mode:
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 14a2ad6..f41e2a2 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 && !/\btimeout\b/i.test(e.message)) {
+ if (e instanceof TimingException) {
// we don't want prompts if the request expired / errored first
return;
}