From: wallacebw at yahoo dot com
Operating system: RedHat 8 W/Apache 2.0.40
PHP version: 4.3.2
PHP Bug Type: Output Control
Bug description: arg_separator.output default value not html compliant
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 bug report at http://bugs.php.net/?id=23961&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23961&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23961&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23961&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23961&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23961&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23961&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23961&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23961&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23961&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23961&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23961&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23961&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23961&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23961&r=gnused