PHP 4.0 Bug #7704 Updated: trouble using session.use_trans_sid and javascirpt
| From: | sniper@php.net | Date: | Wed, 08 Nov 2000 21:17:12 +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-37460@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.
--Jani
Previous Comments:
---------------------------------------------------------------------------
[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