php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #14526 Auto-appended ampersand characters cause problems with W3C compliance
Submitted: 2001-12-14 17:43 UTC Modified: 2001-12-14 17:47 UTC
From: ug14rrd at cs dot bham dot ac dot uk Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.0.6 OS: SunOS
Private report: No CVE-ID: None
 [2001-12-14 17:43 UTC] ug14rrd at cs dot bham dot ac dot 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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-14 17:47 UTC] jimw@php.net
not a bug. in php.ini, set arg_separator.output = "&"
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 09:01:30 2024 UTC