fail-safe flowfilter

This commit is contained in:
Thomas Kriechbaumer 2017-05-26 17:58:38 +02:00
parent 47b6d1823e
commit 4fb9cc1a69

View File

@ -344,6 +344,8 @@ class FUrl(_Rex):
@only(http.HTTPFlow) @only(http.HTTPFlow)
def __call__(self, f): def __call__(self, f):
if not f.request:
return False
return self.re.search(f.request.pretty_url) return self.re.search(f.request.pretty_url)