ID: 21187
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Output Control
Operating System: Windows 2000 server
PHP Version: 4.2.1
New Comment:
Of course read "below" instead of "above" :)
Merry Christmas !
Previous Comments:
------------------------------------------------------------------------
[2002-12-26 03:47:16] [EMAIL PROTECTED]
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 this bug report at http://bugs.php.net/?id=21187&edit=1