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
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

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 Apr 25 10:01:29 2024 UTC