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

From: Date: Wed, 08 Nov 2000 19:29:55 +0000
Subject: PHP 4.0 Bug #7704: trouble using session.use_trans_sid and javascirpt
Groups: php.dev 
Request: Send a blank email to php-dev+get-37452@lists.php.net to get a copy of this message
From: executorf@gmx.de Operating system: all PHP version: 4.0.3pl1 PHP Bug Type: *Session related Bug description: trouble using session.use_trans_sid and javascirpt 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 -- Edit Bug report at: http://bugs.php.net/?id=7704&edit=1

« previous php.dev (#37452) next »