#49326 [NEW]: output_buffering and use_trans_sid can corrupt session
From: k dot triendl at m-box dot at
Operating system: windows xp sp3
PHP version: 5.2.10
PHP Bug Type: Output Control
Bug description: output_buffering and use_trans_sid can corrupt session
Description:
------------
If output_buffering is set to 4096 and session.use_trans_sid is used, the
output may be broken:
<a href="index.php"?PHPSESSID=fa562d5bb14df890e6db68627ea76442>
I've found that the same bug was reported in 2003 for php-4.3.8 (which was
fixed back then) and filed under #29333:
http://bugs.php.net/bug.php?id=29333.
The problem is reproducable with the code that Alan has still on his
website.
I hope it's ok to refer to bug #29333.
Reproduce code:
---------------
As described in #29333
Expected result:
----------------
As described in #29333
Actual result:
--------------
As described in #29333
--
Edit bug report at http://bugs.php.net/?id=49326&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=49326&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=49326&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=49326&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=49326&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=49326&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=49326&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=49326&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=49326&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=49326&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=49326&r=support
Expected behavior: http://bugs.php.net/fix.php?id=49326&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=49326&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=49326&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=49326&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=49326&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=49326&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=49326&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=49326&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=49326&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=49326&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=49326&r=mysqlcfg
Thread (7 messages)
- k dot triendl at m-box dot at