Zend Framework

Zend_Controller_Response_Abstract::setHttpResponseCode() set $this->_isRedirect incorrectly

Details

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

Description

the following code in Zend_Controller_Response_Abstract::setHTtpResponseCode(),


if ((300 <= $code) || (307 >= $code)) {
$this->_isRedirect = true;


it will be


if ((300 <= $code) && (307 >= $code)) {
$this->_isRedirect = true;


Activity

Hide
Bill Karwin added a comment -

Assigning to Matthew.

Show
Bill Karwin added a comment - Assigning to Matthew.
Hide
Matthew Weier O'Phinney added a comment -

Resolved in r5227.

Show
Matthew Weier O'Phinney added a comment - Resolved in r5227.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: