Re:Fixing Unix/Linux/Posix Filenames: Control Characters (Su...
by blablabla123 on Saturday March 09, 2019 @02:56PM
(#19348118)
I wonder how much effort it would take, to make the shell robust when it comes to this. Obviously in Python 3 it's not a big deal to process UTF8 strings with control characters, store them in a database and still have decent XSS protection with no ("manual") input filter. But with Python you loose the flexibility of pipes, combining commands tersely on the fly.
[ Parent
| on HN ]
Re:Fixing Unix/Linux/Posix Filenames: Control Characters (Su...
by JdeBP on Sunday March 10, 2019 @05:06AM
(#19351099)
Of course, the problem here is in thinking that there is "the" shell, and that one needs to always use a POSIX compatible shell for interactive login. (The C shell users of the world should disabuse one of that particular notion, if nothing else.)