From:             [EMAIL PROTECTED]
Operating system: Windows 2000
PHP version:      4.2.3
PHP Bug Type:     Session related
Bug description:  Session rewriter misses a case

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 bug report at http://bugs.php.net/?id=20968&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=20968&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=20968&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=20968&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=20968&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=20968&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=20968&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=20968&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=20968&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=20968&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=20968&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20968&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=20968&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=20968&r=isapi

Reply via email to