Bug 217430 - b4 am/shazam tag accumulation with HTML-ish emails
Summary: b4 am/shazam tag accumulation with HTML-ish emails
Status: RESOLVED CODE_FIX
Alias: None
Product: Tools
Classification: Unclassified
Component: Infra (show other bugs)
Hardware: All Linux
: P3 normal
Assignee: Konstantin Ryabitsev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-11 16:09 UTC by Bugbot
Modified: 2023-06-22 18:15 UTC (History)
0 users

See Also:
Kernel Version:
Subsystem:
Regression: No
Bisected commit-id:


Attachments

Description Bugbot 2023-05-11 16:09:44 UTC
Andrew Cooper <andrew.cooper3@citrix.com> writes:

Hello,

In Xen we had a minor error today.

Given
https://lore.kernel.org/xen-devel/7E04E3DD-B260-49E4-8543-77BBF8715BCB@arm.com/
providing an R-by tag, the resulting commit ended up looking like
https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=cb781ae2c98de5d5742aa0de6850f371fb25825f

It appears that despite being text/plain, there was an extra <mailto:$X>.

Any chance this embedded mailto can be stripped?

Thanks,

~Andrew

(via https://msgid.link/a512454c-2bd6-fd20-dff0-5ec19c8f85a9@citrix.com)
Comment 1 Bugbot 2023-05-11 16:09:49 UTC
Konstantin Ryabitsev <konstantin@linuxfoundation.org> writes:

On Thu, May 11, 2023 at 03:24:29PM +0100, Andrew Cooper wrote:
> In Xen we had a minor error today.
> 
> Given
>
> https://lore.kernel.org/xen-devel/7E04E3DD-B260-49E4-8543-77BBF8715BCB@arm.com/
> providing an R-by tag, the resulting commit ended up looking like
>
> https://xenbits.xen.org/gitweb/?p=xen.git;a=commitdiff;h=cb781ae2c98de5d5742aa0de6850f371fb25825f
> 
> It appears that despite being text/plain, there was an extra <mailto:$X>.
> 
> Any chance this embedded mailto can be stripped?

We'll try to catch extra brackets inside brackets.

bugbot assign to me

-K

(via https://msgid.link/20230511-harbor-lamps-decal-93861a@meerkat)
Comment 2 Bugbot 2023-06-22 18:15:13 UTC
Konstantin Ryabitsev writes in commit 832010c4d50bc73695865ec0771091a14f4b24fb:

trailers: normalize address after parsing

For person-trailers, normalize the address after we have parsed it,
which removes some of the common email-added junk (mailto:, extra <>,
etc).

Reported-by: Andrew Cooper <andrew.cooper3@citrix.com>
Closes: https://bugzilla.kernel.org/show_bug.cgi?id=217430
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>

(via https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=832010c4d50b)

Note You need to log in before you can comment on or make changes to this bug.