aboutsummaryrefslogtreecommitdiffstats
path: root/web/src/js/filt
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/js/filt')
-rw-r--r--web/src/js/filt/filt.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/src/js/filt/filt.js b/web/src/js/filt/filt.js
index 2252f957..26058649 100644
--- a/web/src/js/filt/filt.js
+++ b/web/src/js/filt/filt.js
@@ -1953,7 +1953,7 @@ module.exports = (function() {
function domain(regex){
regex = new RegExp(regex, "i");
function domainFilter(flow){
- return flow.request && regex.test(flow.request.host);
+ return flow.request && (regex.test(flow.request.host) || regex.test(flow.request.pretty_host));
}
domainFilter.desc = "domain matches " + regex;
return domainFilter;