Comment by vertere
4 years ago
Definitely applicable here. There's no way we're going to eliminate all problems with spaces etc, so why invite trouble.
I wouldn't say it's always poor engineering though, especially the 'liberal in what you accept' half.
Yes, you have a point there, but in this case would being liberal in what you accept be to accept filenames with spaces or (arguably) doing filename handling correctly (ie accept filenames with spaces)?