Sanitising arguments to shell commands

Chris Rebert clp2 at rebertia.com
Fri Aug 21 20:02:14 EDT 2009


On Fri, Aug 21, 2009 at 3:55 PM, Ben Finney<ben+python at benfinney.id.au> wrote:
> Rick King <rickbking at comcast.net> writes:
>
>> shlex doesn't handle unicode input though, so, in general, it's not a
>> good solution.
>
> Argh. Is there a Python bug tracker number for fixing that?

Indeed there is:
http://bugs.python.org/issue1170

It even has a patch. I wonder why it's unapplied.

Cheers,
Chris
--
http://blog.rebertia.com



More information about the Python-list mailing list