From: Junio C Hamano Date: Tue, 15 Jun 2010 16:14:37 GMT Subject: Re: [PATCH] mailinfo: parse From header more strictly when run from rebase Message-ID: <7vzkyw6zo2.fsf@alter.siamese.dyndns.org> In-Reply-To: <1275885945-29241-1-git-send-email-jaysoffian@gmail.com> Jay Soffian writes: > Given an email address of the form: > > author@example.com > > results in "author@example.com" being used as both the name and the > address. This is due to an assumption in handle_from() that the > first '@' denotes the address portion. The remainder of the string > is then assumed to be the name, which is rejected by > get_sane_name(), resulting in address being used for the name as > well. Sorry, but it is unclear from your message what problem you are trying to solve, what your desired outcome is, and why you think that outcome is desired. The bracketed one shown above does _not_ look like a valid email address, so using name = "author@example.com" email = "author@example.com@11B4..." does not sound like a good thing to do to begin with.