From:             irie at gmx dot de
Operating system: Linux
PHP version:      4.3.6
PHP Bug Type:     Session related
Bug description:  session.use_trans_sid bug

Description:
------------
I faced a problem when using & as the argument-seperator in URIs with
session.use_trans_sid turned on.

According to the w3-specs (see
http://www.w3.org/TR/html4/appendix/notes.html#h-B.2.2 ) & is
equivalent to & so I think it should work. But the arguments are
getting mixed up. With & as the seperator it's working well.

It's the same with php5.0RC2.

Expected result:
----------------
<a
href="toggle.php?a=table&#38;p=5&#38;d=open&#38;sid=2dba9000ab000190477a57d27433f121">


Actual result:
--------------
<a
href="toggle.php?a=table&&#38;sid=2dba9000ab000190477a57d27433f121#38;p=5&#38;d=open">

(with arg_separator.output = "&#38;")

-- 
Edit bug report at http://bugs.php.net/?id=28551&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=28551&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=28551&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=28551&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=28551&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=28551&r=needtrace
Need Reproduce Script:      http://bugs.php.net/fix.php?id=28551&r=needscript
Try newer version:          http://bugs.php.net/fix.php?id=28551&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=28551&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=28551&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=28551&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=28551&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=28551&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28551&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=28551&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=28551&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=28551&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=28551&r=float

Reply via email to