You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(dav): map invalid CalDAV payloads to 400 instead of 500
extractTodo() throws Sabre\VObject\InvalidDataException for malformed ICS
or payloads that do not contain exactly one VTODO. That exception does not
extend Sabre\DAV\Exception, so the DAV server mapped it to 500 instead of
the 400 the PR description promises.
Catch it in CalendarObject::put() and rethrow as BadRequest, and cover the
put() mapping with a unit test.
0 commit comments