php.net |  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
 [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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 19:01:29 2024 UTC