PHP 4.0 Bug #5366: url parameter get's overwritten
| From: | ggabor at sopron dot hu | Date: | Tue, 04 Jul 2000 19:39:24 +0000 |
| Subject: | PHP 4.0 Bug #5366: url parameter get's overwritten | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-23365@lists.php.net to get a copy of this message | ||
From: ggabor@sopron.hu
Operating system: Linux
PHP version: 4.0.1pl2
PHP Bug Type: Session related
Bug description: url parameter get's overwritten
If you have compiled php with --enable-trans-sid and session.use_cookies is disabled, then...
- in whatever.php:
...
$something = "first";
?>
<a href="http://x.com?id=<? echo $something;
?>">
- and what you see from the browser:
<a href="http://x.com?id=&SessX=2352342525">
- but it should be:
<a href="http://x.com?id=first&SessX=2352342525">
as you can see, the url's end gets overwritten.
somebody on php-general said, it would be fixed in
php 4.0.1.. but it's still wrong.
(Debian woody, PHP4-4.0.1-2, apache-1.3.12-1)