Summary | Using groups with groupname containing a . fails |
Queue | IMP |
Queue Version | 4.1.1 |
Type | Bug |
State | Resolved |
Priority | 2. Medium |
Owners | slusarz (at) horde (dot) org |
Requester | horde (at) karmoy (dot) kommune (dot) no |
Created | 06/08/2006 (7070 days ago) |
Due | |
Updated | 06/26/2006 (7052 days ago) |
Assigned | 06/08/2006 (7070 days ago) |
Resolved | 06/26/2006 (7052 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
State ⇒ Resolved
group name with a period in it is entirely allowable in Turba, any
return from a contacts/search call should return the canonical list
name. We only need to RFC 2822 encode the group name if we are
dealing in an application that will use the group name in an e-mail
context (i.e. IMP).
Fixed in IMP HEAD and 4.1.3.
Assigned to Michael Slusarz
State ⇒ Assigned
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?
group-name which contains a dot ( . ) and the mail won't get sent.
The same groupnames worked fine in IMP 4.0.3 and Turba 2.0.2.
State ⇒ Feedback
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ Using groups with groupname containing a . fails
Queue ⇒ IMP
State ⇒ Unconfirmed
recipients I get an error: "Group name did not validate".