#25901 [Opn->Bgs]: session id breaks HTML spec
ID: 25901
Updated by: iliaa@php.net
Reported By: simon at mindlib dot co dot uk
-Status: Open
+Status: Bogus
Bug Type: *Configuration Issues
Operating System: any
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
arg_separator.output can be set via ini_set();
Previous Comments:
------------------------------------------------------------------------
[2003-10-19 16:39:13] simon at mindlib dot co dot uk
This does not address the fault, which is with the default
configuration setting. Changing the configuration is a workaround, not
a fix. In this case I cannot change it as it belongs to my ISP.
------------------------------------------------------------------------
[2003-10-18 12:57:45] phildriscoll@php.net
arg_separator.output in your php.ini sorts this out.
See
www.php.net/manual/en/configuration.directives.php
------------------------------------------------------------------------
[2003-10-18 12:36:45] simon at mindlib dot co dot uk
Description:
------------
A minor issue, but an important one.
When a URL is generated by PHP a session id tag is added of the form
&PHPSESSID=...
In the configuration, the default character used to link tags is a
straight ampersand. However, the W3C spec regarding character entities
states that & should be used to avoid confusion. Since I cannot
change the INI files of my ISP, this means I cannot get my pages to
validate under W3C rules.
The default string used to separate tags in automatically generated
URLs should be &
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25901&edit=1
Thread (5 messages)