#20418 [Opn->Bgs]: transient SID sends a wrong ampersand(&)
| From: | sniper@php.net | Date: | Thu, 14 Nov 2002 04:13:50 +0000 |
| Subject: | #20418 [Opn->Bgs]: transient SID sends a wrong ampersand(&) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-24845@lists.php.net to get a copy of this message | ||
ID: 20418
Updated by: sniper@php.net
Reported By: imacat@mail.imacat.idv.tw
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Linux
PHP Version: 4.3.0-pre2
New Comment:
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
See php.ini for "arg_separator.output" directive.
Previous Comments:
------------------------------------------------------------------------
[2002-11-13 22:09:33] imacat@mail.imacat.idv.tw
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 this bug report at http://bugs.php.net/?id=20418&edit=1