From 12e4db08100c13022e0480c0b4946b99612020d4 Mon Sep 17 00:00:00 2001 From: jperras Date: Sat, 1 Aug 2009 23:38:26 +0000 Subject: [PATCH] Rewriting HttpSocket::parseCookies() to not use a negative lookbehind regex, due to a bug in PCRE engine in PHP 5.1.x. Fixes #6533. git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@8269 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/http_socket.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/cake/libs/http_socket.php b/cake/libs/http_socket.php index 544de704f..76d12d710 100644 --- a/cake/libs/http_socket.php +++ b/cake/libs/http_socket.php @@ -852,9 +852,16 @@ class HttpSocket extends CakeSocket { $cookies = array(); foreach ((array)$header['Set-Cookie'] as $cookie) { - $parts = preg_split('/(?