[SURBL-Discuss] [long] summary of currently unparsed url types

John Fawcett johnml at michaweb.net
Sun Apr 18 12:33:59 CEST 2004


----- Original Message ----- 
From: John_Delisle
> John - Can you please post line numbers or a diff for those changes?
The following diff assumes Mail::SpamAssassin version 2.63 
with SpamCopUri 0.09 already installed

diff PerMsgStatus.pm.orig PerMsgStatus.pm
----cut------
1777a1779,1787
>       dbg("Got URI: $uri");
>        $uri =~ s/\%68/h/g;
>        $uri =~ s/\%74/t/g;
>        $uri =~ s/\%70/p/g;
>        $uri =~ s/http:\/([^\/])/http:\/\/$1/g;
>        $uri =~ s/http:\/\/http:\/\//http:\/\//g;
>        $uri =~ s/^http:\/\/(?:drs|rd).yahoo.com\/[^\*]+\*(.*)$/$1/g;
>       dbg("URI after filter: $uri");



More information about the Discuss mailing list