ID: 16736 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Bogus Bug Type: Session related Operating System: RedHat Linux 7.2 PHP Version: 4.1.2 New Comment:
A colon is not an allowed character in GET urls. Replace it with the appropriate %xxx value or use urlencode(). Previous Comments: ------------------------------------------------------------------------ [2002-04-22 15:34:51] [EMAIL PROTECTED] 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 this bug report at http://bugs.php.net/?id=16736&edit=1