Bug #14526 Updated: Auto-appended ampersand characters cause problems with W3C compliance
ID: 14526
Updated by: jimw
Reported By: ug14rrd@cs.bham.ac.uk
Old Status: Open
Status: Bogus
Bug Type: Session related
Operating System: SunOS
PHP Version: 4.0.6
New Comment:
not a bug. in php.ini, set arg_separator.output = "&"
Previous Comments:
------------------------------------------------------------------------
[2001-12-14 17:43:41] ug14rrd@cs.bham.ac.uk
When using sessions, PHP auto-appends '&' characters to be links. This is a problem if
I then run my code through the W3C HTML Validator. It gives the error:
Error: unknown entity "PHPSESSID"
When it sees &PHPSESSID= etc... appended to my links.
Would it be possible to have the auto-appended ampersands replaced by '&' as
described here
http://www.w3.org/TR/html401/appendix/notes.html#h-B.2.2
as then sites using PHP and sessions will pass the W3C Validity check.
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=14526&edit=1
Thread (2 messages)