mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-04-28 15:40:14 +00:00
fix Thunderbird mutilating external attendees
semicolon is a separator in iCal, and even though we send it enclosed in double quotes TB will choke on it and produce a mess
This commit is contained in:
parent
144a938923
commit
71e27e50cb
@ -608,19 +608,19 @@ function do_scheduling_requests( vCalendar $resource, $create, $old_data = null
|
||||
$remote = new iSchedule ();
|
||||
$answer = $remote->sendRequest ( $email, 'VEVENT/REQUEST', $schedule_request->Render() );
|
||||
if ( $answer === false ) {
|
||||
$response = "3.7;Invalid Calendar User" ;
|
||||
$response = '3.7'; // Invalid Calendar User: iSchedule request failed or DKIM not configured
|
||||
}
|
||||
else {
|
||||
foreach ( $answer as $a ) // should only be one element in array
|
||||
{
|
||||
if ( $a === false ) {
|
||||
$response = "3.7;Invalid Calendar User" ;
|
||||
$response = '3.7'; // Invalid Calendar User: weird reply from remote server
|
||||
}
|
||||
elseif ( substr( $a, 0, 1 ) >= 1 ) {
|
||||
$response = $a ;
|
||||
$response = $a; // NOTE: this may need to be limited to the reponse code
|
||||
}
|
||||
else {
|
||||
$response = "2.0;Success" ;
|
||||
$response = '2.0'; // Success
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user