mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:07 +01:00
using recommended lowercase protocol "mailto:" in CalDAV:calendar-user-address-set
This commit is contained in:
parent
75097c9cc2
commit
605774dd56
@ -618,7 +618,7 @@ class groupdav extends HTTP_WebDAV_Server
|
|||||||
{
|
{
|
||||||
$principalType = 'users';
|
$principalType = 'users';
|
||||||
$displayname = $account['account_fullname'];
|
$displayname = $account['account_fullname'];
|
||||||
$calendar_user_address_set[] = self::mkprop('href','MAILTO:'.$account['account_email']);
|
$calendar_user_address_set[] = self::mkprop('href','mailto:'.$account['account_email']);
|
||||||
}
|
}
|
||||||
$calendar_user_address_set[] = self::mkprop('href',$this->base_uri.'/principals/'.$principalType.'/'.$account['account_lid'].'/');
|
$calendar_user_address_set[] = self::mkprop('href',$this->base_uri.'/principals/'.$principalType.'/'.$account['account_lid'].'/');
|
||||||
|
|
||||||
|
@ -939,7 +939,7 @@ class groupdav_principals extends groupdav_handler
|
|||||||
'schedule-inbox-URL' => HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'schedule-inbox-URL',array(
|
'schedule-inbox-URL' => HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'schedule-inbox-URL',array(
|
||||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/'.$account['account_lid'].'/inbox/'))),
|
HTTP_WebDAV_Server::mkprop('href',$this->base_uri.'/'.$account['account_lid'].'/inbox/'))),
|
||||||
'calendar-user-address-set' => HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'calendar-user-address-set',array(
|
'calendar-user-address-set' => HTTP_WebDAV_Server::mkprop(groupdav::CALDAV,'calendar-user-address-set',array(
|
||||||
HTTP_WebDAV_Server::mkprop('href','MAILTO:'.$account['account_email']),
|
HTTP_WebDAV_Server::mkprop('href','mailto:'.$account['account_email']),
|
||||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri(true).'/principals/users/'.$account['account_lid'].'/'),
|
HTTP_WebDAV_Server::mkprop('href',$this->base_uri(true).'/principals/users/'.$account['account_lid'].'/'),
|
||||||
HTTP_WebDAV_Server::mkprop('href',$this->base_uri(false).'/principals/users/'.$account['account_lid'].'/'),
|
HTTP_WebDAV_Server::mkprop('href',$this->base_uri(false).'/principals/users/'.$account['account_lid'].'/'),
|
||||||
HTTP_WebDAV_Server::mkprop('href','urn:uuid:'.common::generate_uid('accounts', $account['account_id'])),
|
HTTP_WebDAV_Server::mkprop('href','urn:uuid:'.common::generate_uid('accounts', $account['account_id'])),
|
||||||
@ -955,7 +955,7 @@ class groupdav_principals extends groupdav_handler
|
|||||||
'group-membership' => $this->principal_set('group-membership', $this->accounts->memberships($account['account_id']),
|
'group-membership' => $this->principal_set('group-membership', $this->accounts->memberships($account['account_id']),
|
||||||
array('calendar', 'resources'), $account['account_id']), // add proxy-rights
|
array('calendar', 'resources'), $account['account_id']), // add proxy-rights
|
||||||
'alternate-URI-set' => array(
|
'alternate-URI-set' => array(
|
||||||
HTTP_WebDAV_Server::mkprop('href','MAILTO:'.$account['account_email'])),
|
HTTP_WebDAV_Server::mkprop('href','mailto:'.$account['account_email'])),
|
||||||
// CardDAV
|
// CardDAV
|
||||||
'addressbook-home-set' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'addressbook-home-set',$addressbooks),
|
'addressbook-home-set' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'addressbook-home-set',$addressbooks),
|
||||||
'principal-address' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'principal-address',
|
'principal-address' => HTTP_WebDAV_Server::mkprop(groupdav::CARDDAV,'principal-address',
|
||||||
|
Loading…
Reference in New Issue
Block a user