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...@issues.apache.org on 2011/04/15 09:52:03 UTC

[Bug 6572] URI parser mishandles parenthesis

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

Henrik Krohns <he...@hege.li> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hege@hege.li

--- Comment #1 from Henrik Krohns <he...@hege.li> 2011-04-15 03:52:01 EDT ---
I'm personally patching this like this. It's certain not to break anything. I'm
not sure if some plugins are actually expecting bad behavior like this, no time
to find out..

---
/local/src/amavis/spamassassin-trunk/lib/Mail/SpamAssassin/Plugin/URIDNSBL.pm  
    Mon Dec 13 22:10:00 2010
+++ URIDNSBL.pm Fri Apr 15 10:40:26 2011
@@ -428,6 +428,8 @@

     # take the usable domains and add them to the ordered list
     while (my($host,$domain) = each( %{$info->{hosts}} )) {
+      $host =~ s/\(//g;
+      $domain =~ s/\(//g;
       if ($skip_domains->{$domain}) {
         dbg("uridnsbl: domain $domain in skip list");
       } else {

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