#20418 [NEW]: transient SID sends a wrong ampersand(&)
| From: | imacat at mail dot imacat dot idv dot tw | Date: | Thu, 14 Nov 2002 04:09:33 +0000 |
| Subject: | #20418 [NEW]: transient SID sends a wrong ampersand(&) | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-24844@lists.php.net to get a copy of this message | ||
From: imacat@mail.imacat.idv.tw
Operating system: Linux
PHP version: 4.3.0-pre2
PHP Bug Type: Session related
Bug description: transient SID sends a wrong ampersand(&)
Dear PHP group,
I found a problem with transient SID. When I use transient SID with a
link like this:
<a href="test.php?no=23&lang=en">Test Link</a>
It sends this to the client:
<a
href="test.php?no=23&lang=en&PHPSESSID=ef70c06edde2294bdec74ae0fa421828">Test
LInk</a>
The ampersand(&) is sent as "&" instead of "&" here.
According to
HTML 4.01/XHTML 1.1 (http://www.w3.org/), amersands(&) should always be
send as "&" instead of "&" for the XML parser to work correctly.
The
latter result (&) cannot pass the W3C HTML validator
(http://validator.w3.org/), and thus I cannot check the rest of my HTML.
I'm testing with PHP 4.3.0pre2. Can you fix this in the next release?
Thanks.
--
Edit bug report at http://bugs.php.net/?id=20418&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20418&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=20418&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=20418&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20418&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=20418&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=20418&r=support
Expected behavior: http://bugs.php.net/fix.php?id=20418&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=20418&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=20418&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=20418&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20418&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=20418&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=20418&r=isapi