From 46901d1d55cb5bad86e17e093b85ade8111315aa Mon Sep 17 00:00:00 2001 From: Matthew Shao Date: Wed, 22 Nov 2017 14:26:20 +1100 Subject: [PATCH] Fix #2635, mitmdump does not apply filter to saved data. (#2636) --- mitmproxy/addons/save.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mitmproxy/addons/save.py b/mitmproxy/addons/save.py index 3dbef14e0..5e739039e 100644 --- a/mitmproxy/addons/save.py +++ b/mitmproxy/addons/save.py @@ -42,7 +42,7 @@ class Save: ) else: self.filt = None - if "save_stream_file" in updated: + if "save_stream_file" in updated or "save_stream_filter" in updated: if self.stream: self.done() if ctx.options.save_stream_file: