From deb108761dcb36ea01e4346d746898c8c4aaf54a Mon Sep 17 00:00:00 2001 From: hackademix Date: Tue, 24 Sep 2019 11:38:47 +0200 Subject: Removed XSS prompt for timeouts. --- src/xss/XSS.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xss/XSS.js') 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; } -- cgit v1.2.3