You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Non-POST multipart/form-data requests don't have request body data present unless POST request with _method override is used. This extends on closed issue #13457.
This limitation was recently addressed in PHP 8.4 by including request_parse_body() function, which allows parsing multipart/form-data content for PUT/PATCH requests.
It would be great if Laravel could implement support for this new PHP 8.4 feature.
Working middleware example below:
@crynobone the situation from that link is a perfect example of unit tests getting in the way of good things.
A simple solution is not implemented after months because of the unit test changes.
Laravel Version
12.3.0
PHP Version
8.4.5
Database Driver & Version
No response
Description
Non-POST multipart/form-data requests don't have request body data present unless POST request with
_method
override is used. This extends on closed issue #13457.This limitation was recently addressed in PHP 8.4 by including
request_parse_body()
function, which allows parsing multipart/form-data content for PUT/PATCH requests.It would be great if Laravel could implement support for this new PHP 8.4 feature.
Working middleware example below:
Steps To Reproduce
The text was updated successfully, but these errors were encountered: