php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #8453 Do not base64-encode cookies contents - please add to the manual
Submitted: 2000-12-28 10:40 UTC Modified: 2001-01-03 14:31 UTC
From: otto at kekalainen dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.4 OS: all
Private report: No CVE-ID: None
 [2000-12-28 10:40 UTC] otto at kekalainen dot net
This is not an actual bug, but it might behave as one.

Cookies will not be set, if their contents are base64_encoded, since the encoding seems to have characters which mess up the cookie.

So, if a user fills cookies with a bit more complicated data, he/she might want to encode it as e.g. hexa-decimals.

This could be mentioned in the PHP-documentation.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-03 14:31 UTC] jmoore@php.net
THis is more suited to the user notes (You can add it yourself). I dont really think it has a palce in the actual manual. THere are hundreds of warnings like this we could include but dont.

James
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Jun 16 14:00:01 2026 UTC