You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@spamassassin.apache.org by bu...@bugzilla.spamassassin.org on 2005/08/11 04:32:18 UTC

[Bug 4529] New: URIs with upper case protocols not detected

http://bugzilla.spamassassin.org/show_bug.cgi?id=4529

           Summary: URIs with upper case protocols not detected
           Product: Spamassassin
           Version: 3.0.4
          Platform: All
               URL: http://www.hart.co.jp/spam/sa304fix-e.html
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Libraries
        AssignedTo: dev@spamassassin.apache.org
        ReportedBy: simon@unixinside.com


URIs such as HTTP://j-sine.com, FTP://j-sine.com, WWW.j-sine.com are not
extracted. Perl version: 5.8.6.

In PerMsgStatus.pm I added 'i' to the end for case-insensitive matching:

line 1738:

my $schemeRE = qr/(?:https?|ftp|mailto|javascript|file)/i;

and

line 1743:

my $schemelessRE = qr/(?<![.=])(?:www\.|ftp\.)/i;

and this solved the problem.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

[Bug 4529] URIs with upper case protocols not detected

Posted by bu...@bugzilla.spamassassin.org.
http://bugzilla.spamassassin.org/show_bug.cgi?id=4529


felicity@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Additional Comments From felicity@apache.org  2005-08-10 19:40 -------


*** This bug has been marked as a duplicate of 4275 ***



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.