mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-28 00:39:19 +01:00
* 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)
|
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(
|
return strtr(rawurlencode($url),array(
|
||||||
'%2F' => '/',
|
'%2F' => '/',
|
||||||
'%3A' => ':',
|
'%3A' => ':',
|
||||||
|
Loading…
Reference in New Issue
Block a user