mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 12:21:26 +02:00
fix Lightning work-around for %40
This commit is contained in:
parent
8670036af6
commit
1246d77e28
@ -2713,6 +2713,8 @@ class calendar_ical extends calendar_boupdate
|
|||||||
}
|
}
|
||||||
// fall throught
|
// fall throught
|
||||||
case 'ATTENDEE':
|
case 'ATTENDEE':
|
||||||
|
// work around Ligthning sending @ as %40
|
||||||
|
$attributes['value'] = str_replace('%40', '@', $attributes['value']);
|
||||||
if (isset($attributes['params']['PARTSTAT']))
|
if (isset($attributes['params']['PARTSTAT']))
|
||||||
{
|
{
|
||||||
$attributes['params']['STATUS'] = $attributes['params']['PARTSTAT'];
|
$attributes['params']['STATUS'] = $attributes['params']['PARTSTAT'];
|
||||||
@ -2758,8 +2760,6 @@ class calendar_ical extends calendar_boupdate
|
|||||||
{
|
{
|
||||||
$email = $attributes['value'];
|
$email = $attributes['value'];
|
||||||
}
|
}
|
||||||
// work around Ligthning sending @ as %40
|
|
||||||
$email = str_replace('%40', '@', $email);
|
|
||||||
// try X-EGROUPWARE-UID, but only if it resolves to same email (otherwise we are in trouble if different EGw installs talk to each other)
|
// try X-EGROUPWARE-UID, but only if it resolves to same email (otherwise we are in trouble if different EGw installs talk to each other)
|
||||||
if (!$uid && !empty($attributes['params']['X-EGROUPWARE-UID']) &&
|
if (!$uid && !empty($attributes['params']['X-EGROUPWARE-UID']) &&
|
||||||
($res_info = $this->resource_info($attributes['params']['X-EGROUPWARE-UID'])) &&
|
($res_info = $this->resource_info($attributes['params']['X-EGROUPWARE-UID'])) &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user