From: Junio C Hamano Date: Sat, 02 Aug 2008 17:50:48 GMT Subject: Re: email address handling Message-ID: <7vabfvnw5j.fsf@gitster.siamese.dyndns.org> In-Reply-To: Linus Torvalds writes: > 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. Hmm, you're right. This has to be trickier than I originally thought it would be ... ;-)