Overview
| Artifact ID: | 61ba5314a7dd81253daf61d64213baf27f09d3a1 |
|---|---|
| Ticket: | 3118489fffffffffffffffffffffffffffffffff
NUL in filenames |
| User & Date: | dkf on 2012-11-21 18:09:27 |
Changes
- icomment:
Quite apart from the fact that protecting files by extension is stupid (yeah, its just an example ;-)) it's arguably the case that NUL should always be treated as the end of the filename on all platforms. I've never encountered an OS that allowed it, though there's the prospect of its denormalized form turning up on systems that use UTF-8 (oh, what a tangled web we weave!). Anyway, my point is that we should fix [file]'s subcommands to do the right thing; if someone is abusing them with non-filenames, that's their fault.
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"