[Tickets #4018] Using groups with groupname containing a . fails

bugs@bugs.horde.org bugs at bugs.horde.org
Thu Jun 8 09:07:08 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4018
-----------------------------------------------------------------------
 Ticket             | 4018
 Updated By         | Jan Schneider <jan at horde.org>
 Summary            | Using groups with groupname containing a . fails 
 Queue              | IMP
 Version            | 4.1.1
-State              | Feedback
+State              | Assigned
 Priority           | 2. Medium
 Type               | Bug
-Owners             | 
+Owners             | Michael Slusarz
-----------------------------------------------------------------------


Jan Schneider <jan at horde.org> (2006-06-08 09:07) wrote:

Group names with dots need to be quoted according to RF2822.

Michael, I tried it with this (ugly) patch:

--- api.php.~1.188.~	2006-05-22 14:35:32.000000000 +0200
+++ api.php	2006-06-08 18:59:50.000000000 +0200
@@ -1010,6 +1010,9 @@
                                     }
                                 }
                             }
+                            require_once 'Horde/MIME.php';
+                            $vars = get_class_vars('MIME');
+                            $listatt['name'] =
MIME::_rfc822Encode($listatt['name'], $vars['rfc822_filter'] . '.');
                             $results[$name][] = array('name' =>
$listatt['name'], 'email' => implode(', ', $emails), 'id' =>
$listatt['__key'], 'source' => $source);
                         }
                     }

But this resulted in inconsistent results when I expand names with ajax or
use the address book popup. Maybe you have a bright idea?




More information about the bugs mailing list