|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-12-26 03:59 UTC] hadrien dot nilsson at sinapse dot com
[2002-12-26 04:46 UTC] derick@php.net
[2002-12-26 07:42 UTC] hadrien dot nilsson at sinapse dot com
[2002-12-26 10:29 UTC] hadrien dot nilsson at sinapse dot com
[2002-12-26 13:18 UTC] derick@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 12 05:00:02 2025 UTC |
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>