https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6301

           Summary: WEIRD_PORT incorrectly hits
           Product: Spamassassin
           Version: 3.2.5
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Rules
        AssignedTo: [email protected]
        ReportedBy: [email protected]


A tracking id link:

http://www.123-reg.co.uk?_$ja=tsid:16093

is incorrectly thought of as a bad port. I guess the regex should be modified
with a ? :

uri WEIRD_PORT                 
m{https?://[^?/\s]+?:\d+(?<!:80)(?<!:443)(?<!:8080)(?:/|\s|$)}

Thanks,

Mark

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to