Re: PHP 5.0.3 and base64 encoded cookie value issue?
| From: | Pink Floyd | Date: | Fri, 11 Mar 2005 15:05:43 +0000 |
| Subject: | Re: PHP 5.0.3 and base64 encoded cookie value issue? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-210503@lists.php.net to get a copy of this message | ||
Greetings again,
Thanks to richard for pointing out a good way to
devle
into the source. It appears after browsing through the
source that the ' ' (space) is encoded to '+'. Also
the
characters '_', '-', '.' do get special treatment.
Obviously, this works great in the scenario where the
cookie is set by the PHP/Server and retrieved by a
PHP/Server.
Since the encoding is not mandated by the spec, I
guess I cannot fault PHP for doing what it does. But I
am curious as to what led to the design decision to
encode ' ' to '+'.
Thanks to richard and others for all the help.
MK
[snipped the previous threads]
__________________________________
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/