mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 08:34:42 +01:00
* CalDAV/CardDAV: entries with urls containing url-encoded chars, eg. from Google calendar, were not send to clients (missing urldecoding in multiget report)
This commit is contained in:
parent
90c89e0eb7
commit
94af139465
@ -506,7 +506,7 @@ class addressbook_groupdav extends groupdav_handler
|
||||
if ($option['name'] == 'href')
|
||||
{
|
||||
$parts = explode('/',$option['data']);
|
||||
if (($id = array_pop($parts)))
|
||||
if (($id = urldecode(array_pop($parts))))
|
||||
{
|
||||
$ids[] = groupdav_handler::$path_extension ? basename($id,groupdav_handler::$path_extension) : $id;
|
||||
}
|
||||
|
@ -533,7 +533,7 @@ class calendar_groupdav extends groupdav_handler
|
||||
if ($option['name'] == 'href')
|
||||
{
|
||||
$parts = explode('/',$option['data']);
|
||||
if (($id = array_pop($parts)))
|
||||
if (($id = urldecode(array_pop($parts))))
|
||||
{
|
||||
$cal_filters['query'][self::$path_attr][] = groupdav_handler::$path_extension ?
|
||||
basename($id,groupdav_handler::$path_extension) : $id;
|
||||
|
@ -430,7 +430,7 @@ class infolog_groupdav extends groupdav_handler
|
||||
if ($option['name'] == 'href')
|
||||
{
|
||||
$parts = explode('/',$option['data']);
|
||||
if (($id = basename(array_pop($parts))))
|
||||
if (($id = basename(urldecode(array_pop($parts)))))
|
||||
{
|
||||
$cal_filters[self::$path_attr][] = groupdav_handler::$path_extension ?
|
||||
basename($id,groupdav_handler::$path_extension) : $id;
|
||||
|
Loading…
Reference in New Issue
Block a user