Bug #15804 Updated: PHPSESSID in querystring causes XHTML validator to fail

From: Date: Thu, 07 Mar 2002 16:52:36 +0000
Subject: Bug #15804 Updated: PHPSESSID in querystring causes XHTML validator to fail
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1933@lists.php.net to get a copy of this message
ID: 15804 Updated by: wim@kern.nl Reported By: webmaster@exclupen.com Status: Bogus Bug Type: Session related Operating System: Apache/1.3.23 (Unix) PHP Version: 4.1.2 New Comment: More over, the real problem is that the seperation character for URI params is ; not & Previous Comments: ------------------------------------------------------------------------ [2002-03-01 02:32:39] derick@php.net From php.ini-recommended: ; The separator used in PHP generated URLs to separate arguments. ; Default is "&". ;arg_separator.output = "&" regards, Derick ------------------------------------------------------------------------ [2002-03-01 02:26:58] webmaster@exclupen.com PHP is compiled with --enable-trans-sid. When I turn on sessions on, (with session_start()) and try to validate my previously valid XHTML page, the validator throws errors on every link. [quote from W3C XHTML 1.0 Transitional validator]: Error: reference not terminated by refc delimiter [end quote] It's referring to the fact that there is a "&" in the code when it is not part of an entity. Without using sessions, I can use & in a URL and the page will validate. I guess the actual bug is that it's inserting a & instead of an & which is invalid XHTML. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=15804&edit=1

« previous php.bugs (#1933) next »