PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Request » Bug #18

Bad check for Location header in redirects

Details

Submitted2003-09-17 14:11 UTC
Fromvm at bulgaria dot com
Assignedzyprexia
StatusClosed
PackageHTTP_Request
PHP VersionIrrelevant
OSIrrevelant
Roadmaps(Not assigned)

Comments

[2003-09-17 14:11 UTC] vm at bulgaria dot com

Description:
------------
AND !empty($this->_response->_headers['Location']))
here you check for Location with capitalized first letter. Since you make all headers lower case when this header is sent lower case the above doesn't match.