#23961 [Bgs->Opn]: arg_separator.output default value not html compliant
| From: | wallacebw at yahoo dot com | Date: | Mon, 02 Jun 2003 20:20:46 +0000 |
| Subject: | #23961 [Bgs->Opn]: arg_separator.output default value not html compliant | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40952@lists.php.net to get a copy of this message | ||
ID: 23961
User updated by: wallacebw at yahoo dot com
Reported By: wallacebw at yahoo dot com
-Status: Bogus
+Status: Open
Bug Type: Feature/Change Request
Operating System: RedHat 8 W/Apache 2.0.40
PHP Version: 4.3.2
New Comment:
I DID RTFM... Read my first post...
Still no reason to deviate from standards as been provided.
You should strive to remain standards compliant. Case and Point...
Microsoft
It's a simple fix... provide me with an explanation as to why this
should not be corrected rather than showing me a work-around for the
problem. (which as my first post shows I am already using). If there
is an underlying reason for the current setting I would like no know
what it is... if not than this is a bug that needs to be corrected.
I am not trying to be difficult but rather point out an issue that
appears to have been overlooked...
Brian
Previous Comments:
------------------------------------------------------------------------
[2003-06-02 14:28:23] derick@php.net
RTFM :)
http://www.php.net/manual/en/configuration.directives.php#ini.arg-separator.output
------------------------------------------------------------------------
[2003-06-02 14:09:14] wallacebw at yahoo dot com
That is a cop-out answer... If there is no reason to not to comply with
the standard than you (the PHP project) should make all efforts to do
so.
------------------------------------------------------------------------
[2003-06-02 13:27:39] sniper@php.net
You can change it yourself very very easily..
------------------------------------------------------------------------
[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