PHP 4.0 Bug #9723: & not being encoded, invalid html
| From: | alex dot dent at softhome dot net | Date: | Tue, 13 Mar 2001 11:28:59 +0000 |
| Subject: | PHP 4.0 Bug #9723: & not being encoded, invalid html | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-48801@lists.php.net to get a copy of this message | ||
From: alex.dent@softhome.net
Operating system:
PHP version: 4.0.4pl1
PHP Bug Type: *Session related
Bug description: & not being encoded, invalid html
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.
--
Edit Bug report at: http://bugs.php.net/?id=9723&edit=1