PHP 4.0 Bug #7854 Updated: trans-sid inserts "
| From: | sas@php.net | Date: | Fri, 17 Nov 2000 16:31:48 +0000 |
| Subject: | PHP 4.0 Bug #7854 Updated: trans-sid inserts " | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-38432@lists.php.net to get a copy of this message | ||
ID: 7854
Updated by: sas
Reported By: hartmut@six.de
Status: Closed
Bug Type: *Session related
Assigned To: sas
Comments:
Fixed in CVS. Thanks for your report.
Previous Comments:
---------------------------------------------------------------------------
[2000-11-16 14:02:58] hartmut@six.de
the transparent rewriter seems to miss-identify the following
javascript code as html?
sascha?
<?php
session_start();
session_register("i");
$i++;
?>
<html>
<head>
<script language="javascript">
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;
}
</script>
</head>
<body>
<a href="abc.php">hallo <?= $i ?></a>
</body>
</html>
becomes
<html>
<head>
<script language="javascript">
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;"
}
</script>
</head>
<body>
<a href="abc.php?PHPSESSID=05391ddf955070ea18e6cc2a44e9a9f2">hallo 1</a>
</body>
</html>
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=7854