|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #9723 & not being encoded, invalid html
Submitted: 2001-03-13 06:28 UTC Modified: 2001-04-03 09:20 UTC
From: alex dot dent at softhome dot net Assigned:
Status: Closed Package: Session related
PHP Version: 4.0.4pl1 OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: alex dot dent at softhome dot net
New email:
PHP Version: OS:


 [2001-03-13 06:28 UTC] alex dot dent at softhome dot net
php 4.0.4 pl1 does not correctly encode the & as & when
trans-sid is enabled. this is rather annoying because this
is simply invalid html. it does work only because browser
are used to all kinds of wrong code, but that?s not the problem.

ie. php writes url.php4?some=arg&PHPSESSID=xxxx where
url.php4?some=arg&PHPSESSID=xxxx would be correct.

& is a special xml/html char and must always be encoded in a
valid html document.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-04-03 09:20 UTC]
This is fixed in CVS. Try latest snapshot from and check the php.ini-dist for
arg_separator directive.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Feb 06 13:03:40 2023 UTC