Bug Report #3771
Bug Report #3191: Malformed Request Patch
Malformed Request Patch
|Assignee:||Jeremy Bush||% Done:||
In PHP 5.3.3 parse_url no longer throws an E_WARNING. So a request like:
Do not visit the above link.
is no longer caught by the Kohana error handler. This causes $uri to be FALSE, which finally ends up as string '' (length=0). Two problems:
- HTTP Status Code 200 is shown.
- Duplicate content.
I've attached a patch to resolve this issue.
Relevant PHP Issue: http://bugs.php.net/bug.php?id=52644
Updated by Jeremy Bush almost 3 years ago
- Assignee changed from Matt Button to Jeremy Bush
- Target version changed from v3.0.10 to v3.1.2
- Resolution set to fixed
Merged to 3.1.