Zend Framework

Request RawBody is not cached, making multiple retrievals impossible

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 1.9.3
  • Component/s: Zend_Controller
  • Labels:
    None

Description

Zend_Controller_Request_Http::getRawBody() pulls content from php://input. However, it does not cache this input, which means that if you attempt to retrieve the content multiple times, all attempts after the first will return a boolean false.

Activity

Hide
Matthew Weier O'Phinney added a comment -

Fixed in trunk and 1.9 release branch

Show
Matthew Weier O'Phinney added a comment - Fixed in trunk and 1.9 release branch

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: