Wheeler: Fixing Unix/Linux/POSIX Filenames
Wheeler: Fixing Unix/Linux/POSIX Filenames
Posted Mar 25, 2009 22:45 UTC (Wed) by epa (subscriber, #39769)In reply to: Wheeler: Fixing Unix/Linux/POSIX Filenames by mrshiny
Parent article: Wheeler: Fixing Unix/Linux/POSIX Filenames
If not, it should be easy enough to fix the SHELLS in this case.Three decades of unhappy experience says otherwise. Nobody has a reasonable proposal to fix all the shells, all the scripting languages and all the user applications so that they don't make unsafe assumptions about filenames (e.g. assuming a filename can never begin with - or never contain the \n character).
On the other hand, a kernel-level check for bad characters is simple to implement and obviously solves these problems at a stroke.
