#28554 [Bgs]: arg_separator should default to & instead of &
| From: | kavol at email dot cz | Date: | Fri, 28 May 2004 09:24:30 +0000 |
| Subject: | #28554 [Bgs]: arg_separator should default to & instead of & | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-60102@lists.php.net to get a copy of this message | ||
ID: 28554
User updated by: kavol at email dot cz
Reported By: kavol at email dot cz
Status: Bogus
Bug Type: PHP options/info functions
Operating System: Linux (applies for any?)
PHP Version: 4.3.6
New Comment:
> Please do not submit the same bug more than once.
> An existing bug report already describes this very
> problem.
Please, could you post the number? I searched for
"arg_separator" ... do you mean #27965? - sorry, I thought
that it is marked as bogus because it is a duplicate of
#15504, so I did not read that thoroughly. My fault.
> we will also NOT change this until there is a browser
> that borks on this.
I am sorry, I (and m-w.com) do not know the word "bork" -
is that typo?
And what is more important, some broken (?) browser or html
standard, parsers and good browsers?
> Also, you can change this in php.ini if you really want
> to do this.
Yes. And I can fork the php codebase and make a version
which behaves correctly - my report was about changing the
default and not about what can I do with my php.ini
... I do not see any reason for making the wrong behaviour
default.
In addition, as mentioned in #27965, not everyone has the
possibility to change the defaults, and many webmasters
leave the default settings untouched because they believe
that these are optimal or simply because they do not
understand that. :-(
Previous Comments:
------------------------------------------------------------------------
[2004-05-28 10:38:17] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
Search before submitting a bug, we will also NOT change this until
there is a browser that borks on this. Also, you can change this in
php.ini if you really want to do this.
------------------------------------------------------------------------
[2004-05-28 10:11:45] kavol at email dot cz
Description:
------------
Many php-powered sites produce invalid html code because of
php is appending &PHPSESSID... instead &PHPSESSID... to
the links in documents. This was already reported as a bug
and the solution is to set arg_separator; however, since
php is closely related to html, it would be nice if it
would be able to produce correct html with the default
configuration. So, even if you can take this rather as a
wish than a bug, please change the default configuration
value of arg_separator.output to "&".
btw, a lot of thanks for PHP!
p.s. sorry for my English ...
taken from http://www.w3.org/TR/html4/charset.html#h-5.3.2
-
Authors should also use "&" in attribute values since
character references are allowed within CDATA attribute
values.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=28554&edit=1