Bug Report #3693
HTTP POST requests are allowed to contain a body per RFC2616
| Status: | Closed | Start date: | 02/04/2011 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | % Done: | 100% |
||
| Category: | Core | |||
| Target version: | v3.1.0 | |||
| Resolution: | fixed | Points: |
Description
HTTP POST Requests are allowed to contain a entity-body per RFC2616
This code in the Request class prevents consistent access to the body.
if ($method !== 'GET' AND $method !== 'POST')
{
// Ensure the raw body is saved for future use
$body = file_get_contents('php://input');
}
Associated revisions
Fixes #3693 - HTTP POST requests are allowed to contain a body per RFC2616
History
Updated by Kiall Mac Innes over 1 year ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
- Resolution set to fixed
Fixed in 69ebbf2