#25901 [Opn->Bgs]: session id breaks HTML spec

From: Date: Sat, 18 Oct 2003 16:57:46 +0000
Subject: #25901 [Opn->Bgs]: session id breaks HTML spec
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49162@lists.php.net to get a copy of this message
ID: 25901 Updated by: phildriscoll@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: arg_separator.output in your php.ini sorts this out. See www.php.net/manual/en/configuration.directives.php Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#49162) next »