#23961 [Opn->Bgs]: arg_separator.output default value not html compliant
| From: | sniper@php.net | Date: | Mon, 02 Jun 2003 18:27:40 +0000 |
| Subject: | #23961 [Opn->Bgs]: arg_separator.output default value not html compliant | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40936@lists.php.net to get a copy of this message | ||
ID: 23961
Updated by: sniper@php.net
Reported By: wallacebw at yahoo dot com
-Status: Open
+Status: Bogus
-Bug Type: Output Control
+Bug Type: Feature/Change Request
Operating System: RedHat 8 W/Apache 2.0.40
PHP Version: 4.3.2
New Comment:
You can change it yourself very very easily..
Previous Comments:
------------------------------------------------------------------------
[2003-06-02 13:24:13] wallacebw at yahoo dot com
Hello,
The default value for arg_separator.output is currently '&' which
although functional is incorrect acurding to w3c.org's html 4.01
specification. the correct code to use in links (according to w3c) is
the html special char '&'. Is there any reason that this is not
the default behavior?
i.e.
URL's rewritten by PHP's session url rewriter appends
'&PHPSESSID=*sessionid*'... odviously *sessionid* would be the true
session ID...
This will fail the W3C html validator. However if you issue a
ini_set("arg_seperator.output", "&");
first (thus replacing '&' with '&') php returns
'&PHPSESSID=*sessionid*'.
which validates fine.
Again, this is not so much a functionality issue.. it's more Of a
conformance issue.
Thanks,
Brian
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23961&edit=1