Closed georgeboot closed 1 year ago
Because content type could be application/x-www-form-urlencoded;charset=UTF-8.
application/x-www-form-urlencoded;charset=UTF-8
It currently doesn't recognise the request as an url encoded form, and hence the form data is not available inside Laravel.
This should probably be fixed upstream as its also in Brefs PSR-7 bridge (which inspired this code).
Lastly, shouldn't we use something like https://symfony.com/doc/current/components/psr7.html#converting-objects-implementing-psr-7-interfaces-to-httpfoundation to convert the request from PSR-7 to Symfony instead?
Submitted https://github.com/brefphp/bref/pull/1325
If you agree with #16, this PR should be closed.
Because content type could be
application/x-www-form-urlencoded;charset=UTF-8
.It currently doesn't recognise the request as an url encoded form, and hence the form data is not available inside Laravel.
This should probably be fixed upstream as its also in Brefs PSR-7 bridge (which inspired this code).
Lastly, shouldn't we use something like https://symfony.com/doc/current/components/psr7.html#converting-objects-implementing-psr-7-interfaces-to-httpfoundation to convert the request from PSR-7 to Symfony instead?