You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2019/07/31 12:27:18 UTC
svn commit: r1864048 -
/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Author: hege
Date: Wed Jul 31 12:27:17 2019
New Revision: 1864048
URL: http://svn.apache.org/viewvc?rev=1864048&view=rev
Log:
Add \xa0 (nbsp) in $tbirdenddelim, found in many messages between text and urls
Modified:
spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
Modified: spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm?rev=1864048&r1=1864047&r2=1864048&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/PerMsgStatus.pm Wed Jul 31 12:27:17 2019
@@ -2254,7 +2254,7 @@ sub _tbirdurire {
# a hybrid of tbird and oe's version of uri parsing
my $tbirdstartdelim = '><"\'`,{[(|\s' . "\x1b"; # The \x1b as per bug 4522
my $iso2022shift = "\x1b" . '\(.'; # bug 4522
- my $tbirdenddelim = '><"`}\]{[|\s' . "\x1b"; # The \x1b as per bug 4522
+ my $tbirdenddelim = '><"`}\]{[|\s' . "\x1b" . "\xa0"; # The \x1b as per bug 4522 # \xa0 (nbsp) added 7/2019
my $nonASCII = '\x80-\xff';
# bug 7100: we allow a comma to delimit the end of an email address because it will never appear in a domain name, and