Bug #18541: trans sid puts ampersand in href string

From: Date: Wed, 24 Jul 2002 15:32:56 +0000
Subject: Bug #18541: trans sid puts ampersand in href string
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-15057@lists.php.net to get a copy of this message
From:             sean@tincan.co.uk
Operating system: linux
PHP version:      4.2.2
PHP Bug Type:     Session related
Bug description:  trans sid puts ampersand in href string

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;)


-- 
Edit bug report at http://bugs.php.net/?id=18541&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=18541&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=18541&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=18541&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=18541&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=18541&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=18541&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=18541&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=18541&r=submittedtwice
register_globals:    http://bugs.php.net/fix.php?id=18541&r=globals



Thread (2 messages)

« previous php.bugs (#15057) next »