Description
The following code:
php -S 127.0.0.1:8080 &
curl 'http://127.0.0.1:8080/?🐦'
Resulted in this output:
[Fri Mar 21 18:07:22 2025] 127.0.0.1:49588 Invalid request (Malformed HTTP request)
But I expected this output instead:
[404]: GET /?🐦 - No such file or directory
A 404 is expected because there is no index.php, but it still indicates successful parsing of the request.
PHP Version
PHP 8.3.17
Operating System
Fedora 41