Re: email address handling
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Aug 2, 2008, 17:50 UTC
- Message-ID
- <7vabfvnw5j.fsf@gitster.siamese.dyndns.org>
- In-Reply-To
- <alpine.LFD.1.10.0808020916370.3318@nehalem.linux-foundation.org>
Linus Torvalds <torvalds@linux-foundation.org> writes:
Show 17 quoted lines
> 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 ... ;-)