We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b282a commit 655525aCopy full SHA for 655525a
1 file changed
src/Routing/QueryRouteEnhancer.php
@@ -71,7 +71,7 @@ protected function extractBody(Request $request) {
71
$values = array_merge($values, JsonHelper::decodeParams($content));
72
}
73
74
- if (stripos($request->headers->get('content-type'), 'multipart/form-data') !== FALSE) {
+ if (stripos($request->headers->get('content-type') ?? '', 'multipart/form-data') !== FALSE) {
75
return $this->extractMultipart($request, $values);
76
77
0 commit comments