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 #2284

Fail to POST multiline COOKIE string

Details

Submitted2004-09-06 07:24 UTC
Frombalancer at balancer dot ru
StatusBogus
PackageHTTP_Request
PHP Version4.3.9
OSRedHat 7.3
Roadmaps(Not assigned)

Comments

[2004-09-06 07:24 UTC] balancer at balancer dot ru

Description:
------------
Try to POST strings with newline and get like:

Bad Request

Your browser sent a request that this server could not understand.
Request header field is missing ':' separator.

Test!

Apache/2.0.50 (Unix) PHP/4.3.2 Server at airfleet.ru Port 80

[2004-09-06 07:50 UTC] balancer at balancer dot ru

It's bug in addCookie.

I need use $req->addCookie($c, urlencode($v)); to post multiline cookie string.