[Tickets #9525] Re: Sender validation fails for non-ascii letters

bugs at horde.org bugs at horde.org
Wed Jan 19 21:05:42 UTC 2011


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/9525
------------------------------------------------------------------------------
  Ticket             | 9525
  Updated By         | Gunnar Wrobel <wrobel at pardus.de>
  Summary            | Sender validation fails for non-ascii letters
  Queue              | IMP
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


Gunnar Wrobel <wrobel at pardus.de> (2011-01-19 16:05) wrote:

The following test for the "Mail" package reproduces the problem on my side:

diff --git a/framework/Mail/test/Horde/Mail/ParseTest.php  
b/framework/Mail/test/Horde/Mail/ParseTest.php
index f095c1c..fec8988 100644
--- a/framework/Mail/test/Horde/Mail/ParseTest.php
+++ b/framework/Mail/test/Horde/Mail/ParseTest.php
@@ -189,4 +189,16 @@ class Horde_Mail_ParseTest extends  
PHPUnit_Framework_TestCase
          $this->assertEquals(count($res), 3);
      }

+    public function testBug9525()
+    {
+        $parser = new Horde_Mail_Rfc822();
+        $ob = $parser->parseAddressList(
+            'ß <wrobel at pardus.de>',
+            array(
+                'default_domain' => 'pardus.de',
+                'nest_groups' => false,
+                'validate' => true
+            )
+        );
+    }
  }


Having a unit test now I assume I would be able to solve it myself. I  
just wont find the time today anymore and in case you immediately spot  
the problem I'm of course happy if I don't have to dive into the code :)






More information about the bugs mailing list