You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a comma separated list contains multiple names are encoded, the consumePhrase function in Mail::Message::Field::Full contains a greedy regex that spans across multiple email addresses.
An example is "=?utf-8?q?foo?= bar@mail.com, =?utf-8?q?baz?= qux@mail.com" where consumePhrase greedily selects the entirety of "=?utf-8?q?foo?= bar@mail.com, =?utf-8?q?baz?=" as the phrase.
I believe that the issue can be fixed by replacing elsif($string =~ s/^\s*((?:\=\?.*\?\=|[${atext}${atext_ill}\ \t.])+)//o )
with elsif($string =~ s/^\s*((?:\=\?.*?\?\=|[${atext}${atext_ill}\ \t.])+)//o )
on
Oh, and my name is Jonas Ryssel. Knyffen is my alias on the internet, but either is fine. Sorry for the confusion (I didn't expect to get my name in there). :-)
Hello
When a comma separated list contains multiple names are encoded, the
consumePhrase
function inMail::Message::Field::Full
contains a greedy regex that spans across multiple email addresses.An example is "=?utf-8?q?foo?= bar@mail.com, =?utf-8?q?baz?= qux@mail.com" where
consumePhrase
greedily selects the entirety of "=?utf-8?q?foo?= bar@mail.com, =?utf-8?q?baz?=" as the phrase.I believe that the issue can be fixed by replacing
elsif($string =~ s/^\s*((?:\=\?.*\?\=|[${atext}${atext_ill}\ \t.])+)//o )
with
elsif($string =~ s/^\s*((?:\=\?.*?\?\=|[${atext}${atext_ill}\ \t.])+)//o )
on
perl5-Mail-Message/lib/Mail/Message/Field/Full.pm
Line 643 in a49dad0
Best regards
Jonas
The text was updated successfully, but these errors were encountered: