PHP 4.0 Bug #7704 Updated: trouble using session.use_trans_sid and javascirpt

From: Date: Wed, 08 Nov 2000 21:17:49 +0000
Subject: PHP 4.0 Bug #7704 Updated: trouble using session.use_trans_sid and javascirpt
Groups: php.dev 
Request: Send a blank email to php-dev+get-37461@lists.php.net to get a copy of this message
ID: 7704 Updated by: sniper Reported By: executorf@gmx.de Status: Closed Bug Type: *Session related Assigned To: Comments: Fixed already in CVS I mean. The fix will be in PHP4.0.4. --Jani Previous Comments: --------------------------------------------------------------------------- [2000-11-08 16:17:12] sniper@php.net Fixed already. --Jani --------------------------------------------------------------------------- [2000-11-08 20:29:55] executorf@gmx.de when using session.use_trans_sid and the client does not allow cookies the javascript code of the page is changed. example: normal code: <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc; } ... //--> code when parsed with SID: <!-- function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x="a[i])&&x.oSrc;i++)" x.src="x.oSrc; " } //--> ok, you see that four "s where added! so the javascript is useless and the page causes an error. greetings, steve --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7704

« previous php.dev (#37461) next »