Raphael Hertzog <[EMAIL PROTECTED]> writes: > On Fri, 29 Jun 2007, Russ Allbery wrote:
>> According to RFC 2396, the list of characters reserved, banned, or >> disrecommended for URIs are: >> >> ; / ? : @ & = + $ , < > # % " { } | \ ^ [ ] ` >> >> and space. The safest thing to do would be to map all of those >> characters to _. (Some of them we could get away with not mapping, but >> I prefer to appeal to a clear authority for things like this rather >> than generating a custom list.) > I fail to see why / would be banned from an URI. :-) Think that one through a little bit more. What would happen in the lintian page generation code if someone had a / in their e-mail address and I didn't replace that character? (/ is valid in e-mail addresses; it's commonly used in X.500 gateway addresses.) > http://bugs.debian.org/[EMAIL PROTECTED] is a working URL for example. > The "#" clearly has a special meaning in URL... but I haven't seen an > email with that character, the same goes for the rest of your special > characters. That's the definition of a corner case. We should still deal with it. Just because you haven't seen someone use such characters in e-mail addresses doesn't mean that they're not used, or that they may not be used in the future. I have a friend who uses the e-mail address ^*&[EMAIL PROTECTED], which is entirely valid under RFC 2822. He may wish to make Debian packages one of these days. -- Russ Allbery ([EMAIL PROTECTED]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]