zendframework / zend-mvc

Mvc component from Zend Framework
BSD 3-Clause "New" or "Revised" License
105 stars 90 forks source link

Malformed request causes uncaught exception instead of 400 Bad Request #226

Open Xerkus opened 7 years ago

Xerkus commented 7 years ago

https://github.com/zendframework/zend-http/issues/116 revealed that malformed HTTP request, in this case with header with empty value, leads to http request factory throwing exception. Since it is happening early on during application bootstrap, it leads in turn to uncaught exception fatal error instead of proper 400 Bad Request response.

weierophinney commented 4 years ago

This repository has been closed and moved to laminas/laminas-mvc; a new issue has been opened at https://github.com/laminas/laminas-mvc/issues/20.