Message342276
The output of the following invocations are exactly the same:
list(shlex.shlex('a ; b', posix=True, punctuation_chars=True))
list(shlex.shlex('a \; b', posix=True, punctuation_chars=True))
They both output the following:
['a', ';', 'b']
This makes it impossible to determine when the user wanted to escape the semi-colon for some reason, such as if they were using find's `-exec` argument. |
|
Date |
User |
Action |
Args |
2019-05-13 00:59:51 | Matthew Gamble | set | recipients:
+ Matthew Gamble |
2019-05-13 00:59:51 | Matthew Gamble | set | messageid: <1557709191.27.0.852663831837.issue36897@roundup.psfhosted.org> |
2019-05-13 00:59:51 | Matthew Gamble | link | issue36897 messages |
2019-05-13 00:59:51 | Matthew Gamble | create | |
|