Bug #12941 Updated: &PHPSESSID appended to links causes invalud html.
| From: | barends at linuxnewbie dot nl | Date: | Thu, 17 Jan 2002 10:14:01 +0000 |
| Subject: | Bug #12941 Updated: &PHPSESSID appended to links causes invalud html. | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-77325@lists.php.net to get a copy of this message | ||
ID: 12941
Comment by: barends@linuxnewbie.nl
Old Reported By: loopyfx@yahoo.com
Reported By: barends@linuxnewbie.nl
Status: Bogus
Bug Type: Session related
Operating System: Windows 2000 Adv Server
PHP Version: 4.0.5
New Comment:
I have the same problem with 4.0.6 (on apache and Linux).
I did add the:
arg_separator.output = "&"
rule to php.ini, but it still uses & instead of & :(
Previous Comments:
------------------------------------------------------------------------
[2001-08-25 07:44:58] sniper@php.net
Well, are you sure the php.ini file is even used by PHP?
ie. is it on the right directory?
This does work. At least on PHP 4.0.6 which you should
be using too..
------------------------------------------------------------------------
[2001-08-24 22:01:38] loopyfx@yahoo.com
I tried doing that, but it does the same thing still.
Copied out of c:\winnt\php.ini:
arg_separator.output = "&"
------------------------------------------------------------------------
[2001-08-24 06:02:48] sniper@php.net
Use this php.ini directive:
arg_separator.output = "&"
------------------------------------------------------------------------
[2001-08-24 04:43:17] loopyfx@yahoo.com
URI: http://loopy.2y.net/main.php
Server: Microsoft-IIS/5.0
Character encoding: unknown
Document type: HTML 4.01 Transitional
Below are the results of attempting to parse this document with an SGML
parser.
Line 24, column 154:
... >*<a
href="/programming/projects.asp?type=current&PHPSESSID=64076887e5 ...
^
Error: unknown entity "PHPSESSID" (explanation...)
All you need to do is make "&PHPSESSID" be "&PHPSESSID" (that is
the html entity for & in the changed one, if it doesn't show up.)
Thanks.
-Harlan
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=12941&edit=1