PHP 4.0 Bug #9723 Updated: & not being encoded, invalid html

From: Date: Tue, 03 Apr 2001 13:20:55 +0000
Subject: PHP 4.0 Bug #9723 Updated: & not being encoded, invalid html
Groups: php.dev 
Request: Send a blank email to php-dev+get-50687@lists.php.net to get a copy of this message
ID: 9723 Updated by: sniper Reported By: alex.dent@softhome.net Old-Status: Open Status: Closed Bug Type: *Session related Assigned To: Comments: This is fixed in CVS. Try latest snapshot from http://snaps.php.net/ and check the php.ini-dist for arg_separator directive. --Jani Previous Comments: --------------------------------------------------------------------------- [2001-03-13 06:28:58] alex.dent@softhome.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. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9723&edit=2

« previous php.dev (#50687) next »