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
 [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: Tue Oct 06 20:00:02 2026 UTC