php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18541 trans sid puts ampersand in href string
Submitted: 2002-07-24 11:32 UTC Modified: 2002-07-24 13:40 UTC
From: sean at tincan dot co dot uk Assigned:
Status: Not a bug Package: Session related
PHP Version: 4.2.2 OS: linux
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sean at tincan dot co dot uk
New email:
PHP Version: OS:

 

 [2002-07-24 11:32 UTC] sean at tincan dot co dot uk
using trans-sid 

Output from http://validator.w3.org
  ... d valign="bottom"><A HREF="?lid=44&PHPSESSID=58fb8420a6ff332 ...
                                         ^

Error: unknown entity "PHPSESSID" 

when being used in html the character & must be encoded (as &amp;)


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-24 13:40 UTC] derick@php.net
From php.ini-dist:

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

Not a bug -> bogus
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Wed Oct 07 05:00:01 2026 UTC