Bug #15804: PHPSESSID in querystring causes XHTML validator to fail
| From: | webmaster at exclupen dot com | Date: | Fri, 01 Mar 2002 07:26:59 +0000 |
| Subject: | Bug #15804: PHPSESSID in querystring causes XHTML validator to fail | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1378@lists.php.net to get a copy of this message | ||
From: webmaster@exclupen.com
Operating system: Apache/1.3.23 (Unix)
PHP version: 4.1.2
PHP Bug Type: Session related
Bug description: PHPSESSID in querystring causes XHTML validator to fail
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 bug report at http://bugs.php.net/?id=15804&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15804&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15804&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15804&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15804&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15804&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15804&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15804&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15804&r=submittedtwice