Bug #13038: Cookie Error in Net/Curl.php

From: Date: Wed, 29 Aug 2001 17:26:03 +0000
Subject: Bug #13038: Cookie Error in Net/Curl.php
Groups: php.dev 
Request: Send a blank email to php-dev+get-64649@lists.php.net to get a copy of this message
From:             olaf@sevenval.de
Operating system: all
PHP version:      4.0.6
PHP Bug Type:     HTTP related
Bug description:  Cookie Error in Net/Curl.php

In Curl.php around line 316 multiple cookies are concatenated with newline.
Shold be semicolon:
if (isset($this->cookies)) {
  foreach ($this->cookies as $name => $value) {
  $cookie_data .= urlencode($name) . ": " .\ urlencode($value);
 $cookie_data .= ";"; // This is correct, before it was "\n"
}

-- 
Edit bug report at: http://bugs.php.net/?id=13038&edit=1



Thread (3 messages)

« previous php.dev (#64649) next »