Fix UI reporting noise from requests of uninteresting types (e.g. images).

This commit is contained in:
hackademix 2024-11-21 01:28:09 +01:00
parent cbc3c239f2
commit 747c059a87
No known key found for this signature in database
GPG Key ID: 231A83AFDA9C2434
1 changed files with 1 additions and 1 deletions

View File

@ -562,7 +562,7 @@
// returns null if request.type is unknown, otherwise either ALLOW, ABORT or a redirect response // returns null if request.type is unknown, otherwise either ALLOW, ABORT or a redirect response
function checkRequest(request) { function checkRequest(request) {
if (!request.type in policyTypesMap) { if (!(request.type in policyTypesMap)) {
return null; return null;
} }