#25901 [NEW]: session id breaks HTML spec

From: Date: Sat, 18 Oct 2003 16:36:45 +0000
Subject: #25901 [NEW]: session id breaks HTML spec
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-49161@lists.php.net to get a copy of this message
From:             simon at mindlib dot co dot uk
Operating system: any
PHP version:      4.3.1
PHP Bug Type:     *Configuration Issues
Bug description:  session id breaks HTML spec

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 bug report at http://bugs.php.net/?id=25901&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25901&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25901&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25901&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25901&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25901&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25901&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25901&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25901&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25901&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25901&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25901&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25901&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25901&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25901&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25901&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=25901&r=float


Thread (5 messages)

« previous php.bugs (#49161) next »