php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #15603 PHP output sometimes doesn't follow HTML 4.01 standards.
Submitted: 2002-02-18 15:47 UTC Modified: 2002-06-14 09:35 UTC
Votes:2
Avg. Score:3.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: jome at emoj dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.5 OS: Linux
Private report: No CVE-ID: None
 [2002-02-18 15:47 UTC] jome at emoj dot net
When use-cookies is set to Off or when the possibility to use them doesn't exist, PHP adds the session variable to links on the outputted HTML-page.

The link may look like this: <A HREF="?DO=addCode&PHPSESSID=60d92bce38ab509722c1337ee1de0d72">

There's a problem with the above link - it doesn't follow the standards. This is easy to fix, just change & to &amp; 

I don't consider this some huge disadvantage but it could be fixed.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-02-18 16:04 UTC] sniper@php.net
You can change this with arg_separator.output ini directive.

From php.ini-dist:

; The separator used in PHP generated URLs to separate arguments.
; Default is "&". 
;arg_separator.output = "&amp;"

(you should also update to PHP 4.1.1)

Reclassified as docu prob since this is not mentioned
on the session docs. (or in the configuration part either)



--Jani

 [2002-02-18 16:11 UTC] jome at emoj dot net
I know, but I'm not in a position to chose. I'm a customer at a hosting company.
 [2002-02-19 04:16 UTC] goba@php.net
use ini_set() then
 [2002-02-19 06:34 UTC] hholzgra@php.net
you should be able to change this setting at runtime
using set_ini() ?
 [2002-03-20 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2002-03-20 10:37 UTC] sniper@php.net
This is not a bug. There is an option with which this
can be handled. Ask your hosting company to use it.

 [2002-03-20 10:38 UTC] sniper@php.net
Duh..I should have read my own comment first. :)
Still a documentation problem.

 [2002-06-14 09:35 UTC] jan@php.net
This bug has been fixed in CVS. You can grab a snapshot of the
CVS version at http://snaps.php.net/. In case this was a documentation 
problem, the fix will show up soon at http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites.
Thank you for the report, and for helping us make PHP better.


 [2020-02-07 06:12 UTC] phpdocbot@php.net
Automatic comment on behalf of jan
Revision: http://git.php.net/?p=doc/en.git;a=commit;h=523044f31b45fb15c96afbc419a73ed1c9621dec
Log: - fix #15603
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jun 26 17:01:31 2024 UTC