Bug #16736: trans-sid breaks when GET string includes colon
| From: | carljm at goshen dot edu | Date: | Mon, 22 Apr 2002 19:34:52 +0000 |
| Subject: | Bug #16736: trans-sid breaks when GET string includes colon | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-5583@lists.php.net to get a copy of this message | ||
From: carljm@goshen.edu
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