Re: [MACCAWS] Filenames and directory structure conventions
Doug Winter <[email protected]> Thu, 15 Aug 2002 14:43:29 +0100
| Newsgroups | gmane.comp.web.vkit |
|---|---|
| Message-ID | <[email protected]> |
MJ Ray wrote: > Doug Winter <[email protected]> wrote: > > Putting metacharacters in filenames is asking for trouble from other > > systems that manipulate referenced documents. [...] > > Such systems are likely to be insecure and should be fixed, though. Yes. > I'm forever fixing sloppy programming like failure to properly quote > parameter expansions in Bourne Shell scripts, so they die horribly if > you give them files with spaces in their names. If you craft the file > name correctly, you can do evil things to them, possibly provoking > unintended side-effects. The problem is the bad programming, not the > specification of the file names. Fix the cause, rather than making > workarounds. However some people will be using non-free software, and so will be unable to fix it themselves. > I understand that the suggestions are just a "should", but when they > start to obstruct justifiable activities without good reason, they > make me object. When dealing with interoperability, I think the IETF put it best: "strict in what you generate and forgiving in what you accept". doug. -- 020 79610341 / 07879 423002 / [email protected] 3 Waterhouse Square, Holborn Bars, 142 Holborn, London EC1N 2NX www.businesseurope.com www.icpeurope.net www.venturedome.com 1024D/1AB26B8C C88E DC6D A578 DEFB C493 A44D 0156 0479 1AB2 6B8C