We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 368624d + 773cc8f commit 080238aCopy full SHA for 080238a
src/Request.php
@@ -105,7 +105,7 @@ public static function input($safeData = true)
105
$param = explode("=", $chunk);
106
$data[$param[0]] = $param[1];
107
}
108
- } else if (Headers::get('Content-Type') !== 'application/json' && strpos(Headers::get('Content-Type'), "multipart/form-data") !== 0) {
+ } else if (strpos(Headers::get('Content-Type'), "application/json") !== 0 && strpos(Headers::get('Content-Type'), "multipart/form-data") !== 0) {
109
$safeData = false;
110
$data = [$data];
111
} else {
0 commit comments