On Thu, Jul 17, 2014 at 8:57 PM, Erik Christiansen
<[email protected]> wrote:
>
> Heck, in personal shellscripts I don't even bother with defensive
> quoting of arguments, because spaced filenames will never be passed to
> them.

And that's the kind of dangerous situation that manually sanitizing
filenames leads to.
If you don't program (even for personal use) to cater to all possible
inputs, you're going to have issues at some point.

Never make assumptions about user input. Even your own.

I'd consider that a much bigger risk than spaces in filenames, personally.
YMMV

     / Brett
_______________________________________________
luv-main mailing list
[email protected]
http://lists.luv.asn.au/listinfo/luv-main

Reply via email to