Removed XSS prompt for timeouts.

This commit is contained in:
hackademix 2019-09-24 11:38:47 +02:00
parent da1fdcb173
commit deb108761d
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}