#21722 [NEW]: &PHPSESSIONID not output as &PHPSESSIONID
| From: | heinrich dot schuchardt1 at epost dot de | Date: | Sat, 18 Jan 2003 10:08:03 +0000 |
| Subject: | #21722 [NEW]: &PHPSESSIONID not output as &PHPSESSIONID | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-30451@lists.php.net to get a copy of this message | ||
From: heinrich.schuchardt1@epost.de
Operating system: Windows 2000
PHP version: 4.2.3
PHP Bug Type: Output Control
Bug description: &PHPSESSIONID not output as &PHPSESSIONID
A session is generated with session_start(). The browser is set not to
accept cookies. Inside the HTML-Code without the Session there would
appear a code like:
<a href="/index.php?entryid=0&category=0"></a>
With the automatic adding of the session-id it will look like:
<a
href="/index.php?entryid=0&category=0&PHPSESSID=6865f7d1491ccaddd676430ede3328"></a>
According to http://validator.w3.org/check this does
not qualify as valid
HTML:
" The validator has found an entity (something like &this;) that it
doesn't recognize. There are a few possibilities:
A reference to a URI that uses & as a separator between parameters,
such as "http://example.org/prog?x=1&y=2".
To solve this problem, simply replace all the &'s in attribute
values with & (user agents will convert them back before following the
links.) "
--
Edit bug report at http://bugs.php.net/?id=21722&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21722&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21722&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21722&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21722&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21722&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21722&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21722&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21722&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21722&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21722&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21722&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21722&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21722&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21722&r=gnused