#20968 [Opn->Bgs]: Session rewriter misses a case
| From: | sniper@php.net | Date: | Fri, 13 Dec 2002 09:02:02 +0000 |
| Subject: | #20968 [Opn->Bgs]: Session rewriter misses a case | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27575@lists.php.net to get a copy of this message | ||
ID: 20968
Updated by: sniper@php.net
Reported By: CharlesK@netgaintechnology.com
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: Windows 2000
PHP Version: 4.2.3
New Comment:
Use single quotes in your script. Not a bug.
Previous Comments:
------------------------------------------------------------------------
[2002-12-12 12:29:44] CharlesK@netgaintechnology.com
The cvs behaves differently but still the same error
str += "<form name=reptoc><input type="hidden" name="PHPSESSID"
value="some value" />";
It doesnt put quotes around the reptoc but it still puts bad quotes
around the type="hidden" and others.
Charles
------------------------------------------------------------------------
[2002-12-12 11:49:02] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-12-12 11:42:10] CharlesK@netgaintechnology.com
Whe html is written with javascript and trans sid is used, The
javascript may get messed up.
ie
<script LANGUAGE=JavaScript1.2>
str += "<form name=reptoc>";
</script>
becomes
<script LANGUAGE=JavaScript1.2>
str += "<form name="reptoc"><input type="hidden"
name="PHPSESSID"
value="some value" />";
</script>
This produces a parse error because the quotes are breaking the
string.
Thanks
Charles Killmer
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20968&edit=1