Message342276
| Author | Matthew Gamble |
|---|---|
| Recipients | Matthew Gamble |
| Date | 2019-05-13.00:59:51 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1557709191.27.0.852663831837.issue36897@roundup.psfhosted.org> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |