aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroot <skkaushik212@gmail.com>2020-04-25 17:33:27 +0530
committerroot <skkaushik212@gmail.com>2020-04-25 17:39:02 +0530
commit449bdf92c07f566729832a5c28dd39b743fc9d6f (patch)
treede5d685717ed83efb1b7d76bf30b9a5b3c2ae0cd
parentcddcc8dfb109367e615b7d56fc8da1225682ffe4 (diff)
downloadmitmproxy-449bdf92c07f566729832a5c28dd39b743fc9d6f.tar.gz
mitmproxy-449bdf92c07f566729832a5c28dd39b743fc9d6f.tar.bz2
mitmproxy-449bdf92c07f566729832a5c28dd39b743fc9d6f.zip
console error
-rw-r--r--mitmproxy/command_lexer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/command_lexer.py b/mitmproxy/command_lexer.py
index f042f3c9..93f87ac5 100644
--- a/mitmproxy/command_lexer.py
+++ b/mitmproxy/command_lexer.py
@@ -16,7 +16,7 @@ PartialQuotedString = pyparsing.Regex(
|
(?:\\.) # escape sequence
)*
- (?:\1|$) # end quote
+ (?:\1?|$) # end quote
''',
re.VERBOSE
)