Sessioin Management URL rewriter problem
| From: | Jeff Schmidt | Date: | Tue, 15 Jun 2004 13:50:55 +0000 |
| Subject: | Sessioin Management URL rewriter problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-188313@lists.php.net to get a copy of this message | ||
Hello,
I just tried to validate a page I'm creating with php at validator.w3.org. I'm getting a lot of error messages because the session management code in PHP is modifying a href='' tags in my document. Specifically, I have some tags that look like:
<a href='script.php?var=value'>
And session management is rewriting these as:
<a href='script.php?var=value&PHPSESSID=xxxxxxxxxxxx'>
Which at first glance appears fine, right? But the problem is, according to the validator, instead of having a literal ampersand char, it should be &r;. So, is there any way to tell the url rewriter to delimit the name=value pairs using &r instead of a literal ampersand?
I'm not sure that this is exactly a bug, but it is an annoyance nonetheless, as it adds a lot of white noise when I try to validate my pages.
Jeff Schmidt
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc