mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-04 04:19:41 +01:00
fixed encoding issue with group-name containing a space, causing eg. OS X iCal to not display proxys
This commit is contained in:
parent
99cad7bd37
commit
c670740a71
@ -18,8 +18,6 @@
|
|||||||
* to allow to check if required properties are set!
|
* to allow to check if required properties are set!
|
||||||
* groupdav_principals::add_principal() converts simple associative props (name => value pairs)
|
* groupdav_principals::add_principal() converts simple associative props (name => value pairs)
|
||||||
* to name => HTTP_WebDAV_Server(name, value) pairs.
|
* to name => HTTP_WebDAV_Server(name, value) pairs.
|
||||||
*
|
|
||||||
* @todo All principal urls should either contain no account_lid (eg. base64 of it) or use urlencode($account_lid)
|
|
||||||
*/
|
*/
|
||||||
class groupdav_principals extends groupdav_handler
|
class groupdav_principals extends groupdav_handler
|
||||||
{
|
{
|
||||||
@ -645,7 +643,7 @@ class groupdav_principals extends groupdav_handler
|
|||||||
if ((in_array('A',$addressbook_home_set) || in_array((string)$id,$addressbook_home_set)) &&
|
if ((in_array('A',$addressbook_home_set) || in_array((string)$id,$addressbook_home_set)) &&
|
||||||
is_numeric($id) && ($owner = $this->accounts->id2name($id)))
|
is_numeric($id) && ($owner = $this->accounts->id2name($id)))
|
||||||
{
|
{
|
||||||
$addressbooks[] = '/'.urlencode($owner).'/';
|
$addressbooks[] = '/'.$owner.'/';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return $addressbooks;
|
return $addressbooks;
|
||||||
|
Loading…
Reference in New Issue
Block a user