Issue Details (XML | Word | Printable)

Key: ZF-1502
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Matthew Weier O'Phinney
Reporter: Naoto Ishikawa
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Google issue summary
Zend Framework

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

Created: 06/Jun/07 05:53 AM   Updated: 05/Jul/07 02:44 PM   Resolved: 11/Jun/07 03:13 PM
Return to search "Fixed in 1.5.1"
Component/s: Zend_Controller
Affects Version/s: 1.0.0 RC1
Fix Version/s: 1.0.0 RC3

Time Tracking:
Not Specified


 Description  « Hide

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;




Bill Karwin added a comment - 07/Jun/07 11:22 AM

Assigning to Matthew.


Matthew Weier O'Phinney added a comment - 11/Jun/07 03:13 PM

Resolved in r5227.