Re: [PATCH] mailinfo: parse From header more strictly when run from rebase

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jay Soffian <jaysoffian@xxxxxxxxx> writes:

> Given an email address of the form:
>
>  author@xxxxxxxxxxx <author@xxxxxxxxxxx@11B4E7C6-762E-4CF5-B2EB-3F7BD596981D>
>
> results in "author@xxxxxxxxxxx" 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@xxxxxxxxxxx"
    email = "author@xxxxxxxxxxx@11B4..."

does not sound like a good thing to do to begin with.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]