diff options
-rw-r--r-- | libmproxy/console/__init__.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 6ae24d0d..80a6e28a 100644 --- a/libmproxy/console/__init__.py +++ b/libmproxy/console/__init__.py @@ -703,7 +703,11 @@ class ConsoleMaster(flow.FlowMaster): self.state.intercept) and not f.request.is_replay: f.intercept(self) else: - f.reply() + #check if flow was intercepted within an inline script by flow.intercept() + if f.intercepted: + f.intercept(self) + else: + f.reply() signals.flowlist_change.send(self) signals.flow_change.send(self, flow = f) |