diff options
author | Wade 524 <u524@intrafile.com> | 2014-10-24 15:54:51 -0700 |
---|---|---|
committer | Wade 524 <u524@intrafile.com> | 2014-10-24 15:54:51 -0700 |
commit | 1ef74cf294dd0fc1d2555e5256e1b1d39ca5fec5 (patch) | |
tree | c7e66fe1618a58e046aa78df8f337697374ae0b8 | |
parent | 77c9f64526fb49f8787d85c879d7ff6bc91d7f56 (diff) | |
download | mitmproxy-1ef74cf294dd0fc1d2555e5256e1b1d39ca5fec5.tar.gz mitmproxy-1ef74cf294dd0fc1d2555e5256e1b1d39ca5fec5.tar.bz2 mitmproxy-1ef74cf294dd0fc1d2555e5256e1b1d39ca5fec5.zip |
Fixing issue #368.
-rw-r--r-- | libmproxy/flow.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libmproxy/flow.py b/libmproxy/flow.py index e5fdf424..13895a05 100644 --- a/libmproxy/flow.py +++ b/libmproxy/flow.py @@ -219,9 +219,10 @@ class ServerPlaybackState: queriesArray = urlparse.parse_qsl(query) filtered = [] + ignore_params = self.ignore_params or [] for p in queriesArray: - if p[0] not in self.ignore_params: - filtered.append(p) + if p[0] not in ignore_params: + filtered.append(p) key = [ str(r.host), |