diff options
Diffstat (limited to 'mitmproxy/builtins/stickyauth.py')
-rw-r--r-- | mitmproxy/builtins/stickyauth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/builtins/stickyauth.py b/mitmproxy/builtins/stickyauth.py index 51728c23..9e5a928f 100644 --- a/mitmproxy/builtins/stickyauth.py +++ b/mitmproxy/builtins/stickyauth.py @@ -22,6 +22,6 @@ class StickyAuth: host = flow.request.host if "authorization" in flow.request.headers: self.hosts[host] = flow.request.headers["authorization"] - elif flow.match(self.flt): + elif flowfilter.match(flow, self.flt): if host in self.hosts: flow.request.headers["authorization"] = self.hosts[host] |