Incorrect trans-sid placement in PHP Version 4.3.6

From: Date: Mon, 09 Aug 2004 08:02:23 +0000
Subject: Incorrect trans-sid placement in PHP Version 4.3.6
Groups: php.general 
Request: Send a blank email to php-general+get-193179@lists.php.net to get a copy of this message
Hi, I just stumbled over a problem after I had updated PHP, and I thought I should share my experience: I use PHP Version 4.3.6 with '--enable-trans-sid' and deactivated cookies: session.use_cookies Off session.use_trans_sid On And when I use PHP's session feature together with an empty XML tag, PHP places the Session-ID in the wrong place, if there is no blank space behind the attribute: <frame name="foo" src="<?php echo $page_self; ?>"/> => <frame name="foo" src="test-trans-sid.php"/?PHPID=xxx..xxx> NOT WORKING <frame name="foo" src="<?php echo $page_self; ?>" /> => <frame name="foo" src="test-trans-sid.php?PHPID=xxx..xxx" /> WORKING (BTW: The blank space is optional according to XHTML specs.) I hope this message helps you to avoid the kind of trouble I had. See attached test case for further testing and bug fixing. The php version I use is too old for the bug system. If you encounter the same bug in a higher version, please report it. Thanks. Torsten

« previous php.general (#193179) next »