#21187 [Opn->Fbk]: unexpected removing of double quotes

From: Date: Thu, 26 Dec 2002 10:46:35 +0000
Subject: #21187 [Opn->Fbk]: unexpected removing of double quotes
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-28383@lists.php.net to get a copy of this message
ID: 21187 Updated by: derick@php.net Reported By: hadrien.nilsson@sinapse.com -Status: Open +Status: Feedback Bug Type: Output Control Operating System: Windows 2000 server PHP Version: 4.2.1 New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2002-12-26 03:59:55] hadrien.nilsson@sinapse.com Of course read "below" instead of "above" :) Merry Christmas ! ------------------------------------------------------------------------ [2002-12-26 03:47:16] hadrien.nilsson@sinapse.com 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

« previous php.bugs (#28383) next »