From 855be84b84ab1c0f8dc5b8168de92c59f63f2c89 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Wed, 3 Jun 2009 18:38:36 +0200 Subject: fixed limit typo in explode call Ignore-this: fbd08a31ded98f7517ca679047845f6 darcs-hash:20090603163836-7ad00-aefb0a144874d2299cae47825eb72ab6413b4875.gz --- inc/HTTPClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/HTTPClient.php') diff --git a/inc/HTTPClient.php b/inc/HTTPClient.php index 06a69fd55..3d1ef3705 100644 --- a/inc/HTTPClient.php +++ b/inc/HTTPClient.php @@ -292,7 +292,7 @@ class HTTPClient { if(isset($this->resp_headers['set-cookie'])){ foreach ((array) $this->resp_headers['set-cookie'] as $cookie){ list($cookie) = explode(';',$cookie,2); - list($key,$val) = explode('=',$cookie,3); + list($key,$val) = explode('=',$cookie,2); $key = trim($key); if($val == 'deleted'){ if(isset($this->cookies[$key])){ -- cgit v1.2.3