diff --git a/mitmproxy/command.py b/mitmproxy/command.py index c7a455878..e75e6d26d 100644 --- a/mitmproxy/command.py +++ b/mitmproxy/command.py @@ -173,16 +173,9 @@ class CommandManager(mitmproxy.types._CommandBase): rex = rex.copy().leaveWhitespace() - remainder = cmdstr - for t, start, end in rex.scanString(cmdstr): - - remainder = cmdstr[end:] parts.append(t[0]) - if remainder != '': - parts.append(remainder) - if not parts: parts = []