[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . an
From: |
John Cowan |
Subject: |
Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .. |
Date: |
Fri, 24 Feb 2012 16:46:22 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
Christian Kellermann scripsit:
> Disallowing slashes is probably not the way to go here, at least
> not the way I have implemented it.
However, there should be a restriction on egg names when they are
installed into henrietta, to make sure that they are portable to all
operating systems. The safe list is a-z, 0-9, !, #, $, %, &, ', (, ),
comma, -, ., ;, =, @, ^, _, `, {, }, and ~. A-Z are safe if we make
sure that no two egg names differ only in case. Personally I'd go with
a-z, A-Z (only used by 9ML-toolkit, F-operator, and miniML), 0-9, and
hyphen only.
There is also a blacklist of names that don't work on Windows and
should be rejected case-insensitively: con, prn, aux, clock$, nul,
com[0-9], lpt[0-9], ms$mouse, emmxxxx0, xmsxxxx0, smartaar, and setverxx.
This includes the globs (not regular expressions) con.* and *.con, etc.
--
Note that nobody these days would clamor for fundamental laws John Cowan
of *the theory of kangaroos*, showing why pseudo-kangaroos are address@hidden
physically, logically, metaphysically impossible. http://www.ccil.org/~cowan
Kangaroos are wonderful, but not *that* wonderful. --Dan Dennett on zombies
- [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Christian Kellermann, 2012/02/24
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Christian Kellermann, 2012/02/24
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and ..,
John Cowan <=
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Peter Bex, 2012/02/24
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., John Cowan, 2012/02/24
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Peter Bex, 2012/02/25
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., John Cowan, 2012/02/25
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Peter Bex, 2012/02/25
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Christian Kellermann, 2012/02/25
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Mario Domenech Goulart, 2012/02/24
- Re: [Chicken-hackers] [patch] disallow slashes in egg names, ignore . and .., Peter Bex, 2012/02/24