forked from extern/egroupware
* CalDAV/Calendar: Lightning 68 no longer allowed to accept/reject invitations
Caused by calendar-user-address-set in principal had url encoded @ in email --> now using a minimal url-encoding for Lightning, to not encode @
This commit is contained in:
parent
7527dfb300
commit
c768c9cbf7
@ -2706,6 +2706,19 @@ class HTTP_WebDAV_Server
|
||||
*/
|
||||
public static function _urlencode($url)
|
||||
{
|
||||
// Thunderbird Lightning 68+ does not recognice participants,
|
||||
// if EMail in principal (calendar-user-address-set) is encoded
|
||||
if (strpos($_SERVER['HTTP_USER_AGENT'], 'Lightning') !== false)
|
||||
{
|
||||
return strtr($url, array(
|
||||
' ' => '%20',
|
||||
'%' => '%25',
|
||||
'&' => '%26',
|
||||
'<' => '%3C',
|
||||
'>' => '%3E',
|
||||
'+' => '%2B',
|
||||
));
|
||||
}
|
||||
return strtr(rawurlencode($url),array(
|
||||
'%2F' => '/',
|
||||
'%3A' => ':',
|
||||
|
Loading…
Reference in New Issue
Block a user