mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-25 02:34:17 +00:00
Principal URL should be wrapped as href :-)
This commit is contained in:
parent
6b3c052834
commit
5693e3698b
@ -347,7 +347,7 @@ class CalDAVPrincipal
|
||||
break;
|
||||
|
||||
case 'DAV::principal-URL':
|
||||
$prop->NewElement("principal-URL", $this->url );
|
||||
$prop->NewElement("principal-URL", $reply->href($this->url) );
|
||||
break;
|
||||
|
||||
case 'DAV::getlastmodified':
|
||||
@ -387,11 +387,7 @@ class CalDAVPrincipal
|
||||
break;
|
||||
|
||||
case 'urn:ietf:params:xml:ns:caldav:calendar-user-address-set':
|
||||
$set = array();
|
||||
foreach( $this->user_address_set AS $k => $v ) {
|
||||
$set[] = $reply->href($v );
|
||||
}
|
||||
$reply->CalDAVElement($prop, "calendar-user-address-set", $set );
|
||||
$reply->CalDAVElement($prop, "calendar-user-address-set", $reply->href($this->user_address_set) );
|
||||
break;
|
||||
|
||||
case 'DAV::getcontentlanguage':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user