From: [EMAIL PROTECTED]
Operating system: Windows 2000 server
PHP version: 4.2.1
PHP Bug Type: Output Control
Bug description: unexpected removing of double quotes
Just copy and paste the above content into a new php page :
<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Bugland with double quotes</title>
</head>
<body>
<!-- Fails with PHP 4.2.1 Build (May 12 2002 23:51:56) -->
<!-- Unexpected : all ending double quotes are removed ! Result :
<a href="javascript:DoSomething('123', 'abc\"defghi\jkl');>bugland</a>
-->
<a href="javascript:DoSomething('123', 'abc\"defghi\"jkl');">bugland</a>
</body>
</html>
--
Edit bug report at http://bugs.php.net/?id=21187&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21187&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21187&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21187&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21187&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21187&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21187&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21187&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21187&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21187&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21187&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21187&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21187&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21187&r=isapi