Re: email address handling
- From
Linus Torvalds <torvalds@linux-foundation.org>
- Date
- Aug 2, 2008, 16:20 UTC
- Message-ID
- <alpine.LFD.1.10.0808020916370.3318@nehalem.linux-foundation.org>
- In-Reply-To
- <alpine.DEB.1.00.0808021321500.9611@pacific.mpi-cbg.de.mpi-cbg.de>
On Sat, 2 Aug 2008, Johannes Schindelin wrote:
> > Ah, there lies the rub (you forgot that the original complaint was about > a comma, and pretty=email does not handle those):
Indeed.
I wonder where that is_rfc2047_special() function came from. The list of "special" characters is totally bogus.
The real RFC has comma, but it has a lot of other characters too:
especials = "(" / ")" / "<" / ">" / "@" / "," / ";" / ":" /
"<" / "> / "/" / "[" / "]" / "?" / "." / "="because basically the rfc2047 encoding has to be a superset of the 822 (and later 2822) encodings.
Linus