mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-12 08:58:30 +01:00
* CalDAV/CardDAV: fixed wrong encoded url of group with name containing spaces in CalDAV:calendar-user-address-set
This commit is contained in:
parent
0c3d6e167c
commit
bd512f8195
@ -993,7 +993,7 @@ class HTTP_WebDAV_Server
|
||||
$vals = $extra_ns = '';
|
||||
foreach($prop['val'] as $subprop)
|
||||
{
|
||||
if ($subprop['ns'] && $subprop['ns'] != 'DAV:') {
|
||||
if ($subprop['ns'] && $subprop['ns'] != 'DAV:') {
|
||||
// register property namespace if not known yet
|
||||
if (!isset($ns_hash[$subprop['ns']])) {
|
||||
$ns_name = "ns".(count($ns_hash) + 1);
|
||||
@ -1034,6 +1034,7 @@ class HTTP_WebDAV_Server
|
||||
if (isset($subprop['raw'])) {
|
||||
$vals .= '<![CDATA['.$subprop['val'].']]>';
|
||||
} else {
|
||||
if($subprop['name'] == 'href') $subprop['val'] = $this->_urlencode($subprop['val']);
|
||||
$vals .= htmlspecialchars($subprop['val'], ENT_NOQUOTES, 'utf-8');
|
||||
}
|
||||
$vals .= "</$ns_name$subprop[name]>";
|
||||
|
Loading…
Reference in New Issue
Block a user