diff --git a/libmproxy/console/__init__.py b/libmproxy/console/__init__.py index 6ae24d0d2..80a6e28ae 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)