Bug #15804 Updated: PHPSESSID in querystring causes XHTML validator to fail
| From: | derick@php.net | Date: | Fri, 01 Mar 2002 07:32:40 +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-1379@lists.php.net to get a copy of this message | ||
ID: 15804
Updated by: derick@php.net
Reported By: webmaster@exclupen.com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Apache/1.3.23 (Unix)
PHP Version: 4.1.2
New Comment:
From php.ini-recommended:
; The separator used in PHP generated URLs to separate arguments.
; Default is "&".
;arg_separator.output = "&"
regards,
Derick
Previous Comments:
------------------------------------------------------------------------
[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