#6533: HttpSocket ->post gives preg_compilation error on some cookies
    Reporter:  _leo       |          Type:  Bug    
      Status:  new        |      Priority:  Medium 
   Milestone:  1.2.x.x    |     Component:  General
     Version:  1.2 Final  |      Severity:  Normal 
    Keywords:             |   Php_version:  PHP 5  
Cake_version:             |  
 Using one cake app to talk to another cake app via HttpSocket->post.

 App b (emailqueue) sets the following cookie (or something similar):
 CAKEPHP=h627eampsl0tr3ojul3mpbo9h3; path=/emailqueue

 The calling application's (App a, path=/mapreg) preg fails, giving the
 following error when it tries to parse the cookies:

 Warning (2): preg_split() [function.preg-split]: Compilation failed:
 lookbehind assertion is not fixed length at offset 9
 [/home/me/app/cake/libs/http_socket.php, line 849]

 I am not explicitly setting any cookies, so I can only assume
 path=/emailqueue is set explicitly by cake. As you might guess, both
 /emailqueue and /mapreg have the same base domain - http://me.dev.com

 Cake version:[[BR]]
 PHP version: 5.1.6[[BR]]
 OS: CentOS Linux, 2.6.18-128[[BR]]
 Apache: 2.2.3

Ticket URL: <https://trac.cakephp.org/ticket/6533>
CakePHP : The Rapid Development Framework for PHP <https://trac.cakephp.org/>
Cake is a rapid development framework for PHP which uses commonly known design 
patterns like ActiveRecord, Association Data Mapping, Front Controller and MVC. 
Our primary goal is to provide a structured framework that enables PHP users at 
all levels to rapidly develop robust web applications, without any loss to 
You received this message because you are subscribed to the Google Groups 
"tickets cakephp" group.
To post to this group, send email to tickets-cakephp@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to