#20968 [Fbk->Opn]: Session rewriter misses a case
| From: | CharlesK at netgaintechnology dot com | Date: | Thu, 12 Dec 2002 18:29:44 +0000 |
| Subject: | #20968 [Fbk->Opn]: Session rewriter misses a case | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-27518@lists.php.net to get a copy of this message | ||
ID: 20968
User updated by: CharlesK@netgaintechnology.com
Reported By: CharlesK@netgaintechnology.com
-Status: Feedback
+Status: Open
Bug Type: Session related
Operating System: Windows 2000
PHP Version: 4.2.3
New Comment:
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
Previous Comments:
------------------------------------------------------------------------
[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