[prev in list] [next in list] [prev in thread] [next in thread] 

List:       spamassassin-devel
Subject:    [Bug 6572] URI parser mishandles parenthesis
From:       bugzilla-daemon () issues ! apache ! org
Date:       2011-04-15 7:52:03
Message-ID: 201104150752.p3F7q3mO028366 () thor ! apache ! org
[Download RAW message or body]

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

Henrik Krohns <hege@hege.li> changed:

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

--- Comment #1 from Henrik Krohns <hege@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.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic