Filesystems and case-insensitivity
Filesystems and case-insensitivity
Posted Nov 28, 2018 20:20 UTC (Wed) by saffroy (guest, #43999)In reply to: Filesystems and case-insensitivity by perennialmind
Parent article: Filesystems and case-insensitivity
However, I wouldn't go as far as forbidding valid characters, that would be a different feature; blocking sequences that invalid for the selected encoding is sufficient.
Posted Nov 28, 2018 21:07 UTC (Wed)
by perennialmind (guest, #45817)
[Link] (1 responses)
If the semantics really are to be changed – if a differentiable set of path elements are to contain text and only text – that's a useful feature from an application developer's perspective. If it's to be a new kind of hard-to-predict weirdness, that's less useful.
I'd prefer it if text-only filenames were limited to printable graphemes only. That might be too high a bar. I would hope that control characters (C0,C1) would be disallowed. I don't consider \x7F (DELETE) or \x09 (TAB) to be valid in a natural-language name.
Posted Dec 6, 2018 10:02 UTC (Thu)
by Wol (subscriber, #4433)
[Link]
Bearing in mind users weren't supposed to go anywhere near them, it was a pretty good way of stopping people scanning the filesystem and messing about with them. I agree for user visible files, it's a good idea, but not all files are meant to be user visible and some of them can't be hidden.
Cheers,
Posted Nov 28, 2018 22:10 UTC (Wed)
by quotemstr (subscriber, #45331)
[Link] (7 responses)
Posted Nov 29, 2018 6:39 UTC (Thu)
by lkundrak (subscriber, #43452)
[Link] (1 responses)
Posted Nov 29, 2018 21:04 UTC (Thu)
by perennialmind (guest, #45817)
[Link]
Posted Nov 29, 2018 9:11 UTC (Thu)
by dgm (subscriber, #49227)
[Link] (4 responses)
You cannot have formfeeds in a file name. You can have bytes with the decimal value 12, but reading it as a formfeed or somethig else is completely up to you.
Posted Nov 29, 2018 10:46 UTC (Thu)
by Cyberax (✭ supporter ✭, #52523)
[Link] (3 responses)
Seriously, the idiocy with free-form filenames should be fixed.
Posted Nov 29, 2018 12:43 UTC (Thu)
by hkario (subscriber, #94864)
[Link] (2 responses)
Just because a byte string is an invalid sequence in one encoding doesn't mean it's an invalid sequence in all encodings.
Posted Nov 29, 2018 18:28 UTC (Thu)
by quotemstr (subscriber, #45331)
[Link]
Posted Nov 29, 2018 20:47 UTC (Thu)
by perennialmind (guest, #45817)
[Link]
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Wol
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity
Filesystems and case-insensitivity