Fix UI reporting noise from requests of uninteresting types (e.g. images).
This commit is contained in:
parent
cbc3c239f2
commit
747c059a87
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue