Login   Register  
PHP Classes
elePHPant
Icontem

Bug with domain=.domain.com

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

      Cookie Jar  >  All threads  >  Bug with domain=.domain.com  >  (Un) Subscribe thread alerts  
Subject:Bug with domain=.domain.com
Summary:Bug with domain=.domain.com
Messages:1
Author:Martin Sloup
Date:2007-04-22 13:20:59
 

  1. Bug with domain=.domain.com   Reply   Report abuse  
Picture of Martin Sloup
Martin Sloup
2007-04-22 13:20:59
Hi,

I found bug in Cookie_Jar.php on line 264. Thre must be substr instead of strpos :)

Yours sincerely...

Arcao

----
From debug:

* Parsing: uid=xxxxxxxxxxx; expires=Mon, 21-Apr-2008 13:15:00 GMT; path=/; domain=.doman.com
* - request host "www.domain.com" does not domain-match "..domain.com"
----