mirror of
https://github.com/nextcloud/server.git
synced 2025-10-26 19:21:34 +00:00
updateProperties: catch exception when reading calendar data
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
This commit is contained in:
parent
dd424fcb7b
commit
ac3cc5211b
@ -1970,7 +1970,12 @@ class CalDavBackend extends AbstractBackend implements SyncSupport, Subscription
|
||||
*/
|
||||
public function updateProperties($calendarId, $objectUri, $calendarData) {
|
||||
$objectId = $this->getCalendarObjectId($calendarId, $objectUri);
|
||||
$vCalendar = $this->readCalendarData($calendarData);
|
||||
|
||||
try {
|
||||
$vCalendar = $this->readCalendarData($calendarData);
|
||||
} catch (\Exception $ex) {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->purgeProperties($calendarId, $objectId);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user