Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

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

Open
Xerkus opened this issue Mar 10, 2017 · 1 comment
Open

Comments

@Xerkus
Copy link
Member

Xerkus commented Mar 10, 2017

zendframework/zend-http#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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants