You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Type: "foo" or "" or 'foo' or "" or \\ or \" or \'.
As soon as the second quotation mark is typed in, both quotation marks disappear. As soon as the character after the backslash is typed in, the preceding backslash disappears.
In particular, this makes it impossible to filter by values that contain quotation marks (as already noted in #1053) or backslashes: you either don’t have the desired characters in the filter, or you have only one quotation mark and it complains that Command error: No closing quotation, or you have a lone backslash and it complains that Command error: No escaped character.
Any other comments? What have you tried so far?
I’ve tried to quote the affected characters by doubling them, preceding them with backslashes or enclosing them in other quotation marks, but as you can see, none of this helps.
Setting the view filter from the command line works, but as soon as you try to edit it interactively afterwards, it gets broken in the same manner.
The text was updated successfully, but these errors were encountered:
astiob
changed the title
Cannot input quotation marks or multiple backslashes in mitmproxy console
Cannot input quotation marks or backslashes in mitmproxy console
Jun 20, 2018
Thanks for your report! The proximate issue here has been fixed in master via #3183. We still have work to do with string quotes and escaping - I've opened a separate issue for that at #3220.
Steps to reproduce the problem:
mitmproxy
.:
orf
."foo"
or""
or'foo'
or""
or\\
or\"
or\'
.As soon as the second quotation mark is typed in, both quotation marks disappear. As soon as the character after the backslash is typed in, the preceding backslash disappears.
In particular, this makes it impossible to filter by values that contain quotation marks (as already noted in #1053) or backslashes: you either don’t have the desired characters in the filter, or you have only one quotation mark and it complains that
Command error: No closing quotation
, or you have a lone backslash and it complains thatCommand error: No escaped character
.Any other comments? What have you tried so far?
I’ve tried to quote the affected characters by doubling them, preceding them with backslashes or enclosing them in other quotation marks, but as you can see, none of this helps.
Setting the view filter from the command line works, but as soon as you try to edit it interactively afterwards, it gets broken in the same manner.
System information
The same thing happened on mitmproxy 3.
The text was updated successfully, but these errors were encountered: