From 1e01979e41901e19aaf25c88f1a15dcaf51d2c69 Mon Sep 17 00:00:00 2001 From: hackademix Date: Sun, 19 Apr 2020 23:43:28 +0200 Subject: [XSS] Fixed false positives and timeouts (thanks riaggren for report). --- src/xss/InjectionCheckWorker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/xss/InjectionCheckWorker.js') diff --git a/src/xss/InjectionCheckWorker.js b/src/xss/InjectionCheckWorker.js index 47f007d..50ab138 100644 --- a/src/xss/InjectionCheckWorker.js +++ b/src/xss/InjectionCheckWorker.js @@ -74,7 +74,7 @@ Entities = { if (msg.handler in Handlers) try { await Handlers[msg.handler](msg); } catch (e) { - postMessage({error: e}); + postMessage({error: e.message}); } } -- cgit v1.2.3