mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-11-29 08:56:03 +00:00
Fix handling where supplied content-type header is busted.
This commit is contained in:
1 parent
7b93f913db
commit
0db1fed1de
2 files changed
+9
-3
No files matched your search
@@ -110,7 +110,6 @@ switch ( $request->method ) {
|
||||
case 'HEAD': include('caldav-GET.php'); break;
|
||||
case 'PROPPATCH': include('caldav-PROPPATCH.php'); break;
|
||||
case 'PUT':
|
||||
$request->CoerceContentType();
|
||||
switch( $request->content_type ) {
|
||||
case 'text/calendar':
|
||||
include('caldav-PUT-vcalendar.php');
|
||||
|
||||
Reference in new issue
Block a user