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.
1 parent 368624d commit 773cc8fCopy full SHA for 773cc8f
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