note 420 deleted from function.setcookie by rasmus
| From: | rasmus@php.net | Date: | Sat, 10 Aug 2002 14:23:00 +0000 |
| Subject: | note 420 deleted from function.setcookie by rasmus | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34688@lists.php.net to get a copy of this message | ||
Not sure if this is setcookie's output, or Netscape's reception of it, but if the cookie
_name_ contains a character such as "/" it goes through literally, whereas if the cookie
_value_ contains a "/", it gets url-encoded - which means when you fetch it back, if you
don't decode it, it won't match what your program's looking for (in my case, a module
other than PHP is checking the cookie). IMHO, would be more useful if it skipped encoding the cookie
value, just as with the name.