Bug #12941 Updated: &PHPSESSID appended to links causes invalud html.

From: Date: Fri, 24 Aug 2001 10:02:48 +0000
Subject: Bug #12941 Updated: &PHPSESSID appended to links causes invalud html.
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-64234@lists.php.net to get a copy of this message
ID: 12941 Updated by: sniper Reported By: loopyfx@yahoo.com Old Status: Open Status: Bogus Bug Type: Session related Operating System: Windows 2000 Adv Server PHP Version: 4.0.5 New Comment: Use this php.ini directive: arg_separator.output = "&amp;" Previous Comments: ------------------------------------------------------------------------ [2001-08-24 04:43:17] loopyfx@yahoo.com URI: http://loopy.2y.net/main.php Server: Microsoft-IIS/5.0 Character encoding: unknown Document type: HTML 4.01 Transitional Below are the results of attempting to parse this document with an SGML parser. Line 24, column 154: ... >*<a href="/programming/projects.asp?type=current&PHPSESSID=64076887e5 ... ^ Error: unknown entity "PHPSESSID" (explanation...) All you need to do is make "&PHPSESSID" be "&amp;PHPSESSID" (that is the html entity for & in the changed one, if it doesn't show up.) Thanks. -Harlan ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=12941&edit=1

« previous php.dev (#64234) next »