From:             [EMAIL PROTECTED]
Operating system: RedHat Linux 7.2
PHP version:      4.1.2
PHP Bug Type:     Session related
Bug description:  trans-sid breaks when GET string includes colon

It appears that if the already-existing GET string of a URl includes the
colon character (:), trans-sid will not add the session id to that URL. 
This problem is demonstrated by this short demo script:

<?php
session_start();
echo $_SESSION['counter']++;
?>                                                         
<a href="test.php?somevar[key:3]=value">Bad Link</a>

The incorrect behavior occurs whether the colon appears in the attribute
name or in the value.  If the colon is removed from the GET string, the
link is rewritten correctly.
-- 
Edit bug report at http://bugs.php.net/?id=16736&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16736&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16736&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16736&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16736&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16736&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16736&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16736&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16736&r=submittedtwice

Reply via email to