mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-29 19:08:44 +00:00
fail-safe flowfilter
This commit is contained in:
parent
47b6d1823e
commit
4fb9cc1a69
@ -344,6 +344,8 @@ class FUrl(_Rex):
|
||||
|
||||
@only(http.HTTPFlow)
|
||||
def __call__(self, f):
|
||||
if not f.request:
|
||||
return False
|
||||
return self.re.search(f.request.pretty_url)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user