diff --git a/storage-backend/index.php b/storage-backend/index.php index 3dd9a8f..41bf84a 100644 --- a/storage-backend/index.php +++ b/storage-backend/index.php @@ -147,7 +147,7 @@ switch ($method) { } // check actual mime type with registered mime type $uploadedContentType = mime_content_type($uploadFilePath); - if (!is_null($slotParameters['content_type']) && !empty($slotParameters['content_type']) && $uploadedContentType != $slotParameters['content_type']) { + if (false && !is_null($slotParameters['content_type']) && !empty($slotParameters['content_type']) && $uploadedContentType != $slotParameters['content_type']) { unlink($uploadFilePath); sendHttpReturnCodeAndJson(403, "Uploaded file content type differs from requested slot content type."); }