mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 06:30:59 +01: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
|
||||
case 'ATTENDEE':
|
||||
// work around Ligthning sending @ as %40
|
||||
$attributes['value'] = str_replace('%40', '@', $attributes['value']);
|
||||
if (isset($attributes['params']['PARTSTAT']))
|
||||
{
|
||||
$attributes['params']['STATUS'] = $attributes['params']['PARTSTAT'];
|
||||
@ -2758,8 +2760,6 @@ class calendar_ical extends calendar_boupdate
|
||||
{
|
||||
$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)
|
||||
if (!$uid && !empty($attributes['params']['X-EGROUPWARE-UID']) &&
|
||||
($res_info = $this->resource_info($attributes['params']['X-EGROUPWARE-UID'])) &&
|
||||
|
Loading…
Reference in New Issue
Block a user