Message258292
The shlex.quote and pipes.quote functions do not quote shell keywords.
Example shell keywords: done, time, coproc, while
Presumably the intent of the quote functions is to prevent the resulting string from altering the syntax of the script it is inserted into, which is why I think these need to be quoted.
We can't possibly know every shell keyword, so the only sensible thing to do here is to quote everything. |
|
Date |
User |
Action |
Args |
2016-01-15 13:14:41 | Charles Daffern | set | recipients:
+ Charles Daffern |
2016-01-15 13:14:41 | Charles Daffern | set | messageid: <1452863681.04.0.149848593597.issue26124@psf.upfronthosting.co.za> |
2016-01-15 13:14:41 | Charles Daffern | link | issue26124 messages |
2016-01-15 13:14:40 | Charles Daffern | create | |
|