mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +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
6dfaec26d8
commit
5fc2b3631b
@ -397,7 +397,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;
|
||||
}
|
||||
|
@ -422,7 +422,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;
|
||||
|
@ -335,7 +335,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