CVS update: phpweb

From: Date: Mon, 28 Jun 1999 02:20:50 +0000
Subject: CVS update: phpweb
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-13@lists.php.net to get a copy of this message
Date: Sunday June 27, 1999 @ 22:20 Author: jim Update of /repository/phpweb In directory php:/tmp/cvs-serv1566 Modified Files: bugs.php3 Log Message: Fix problem with quotes in short descriptions. Index: phpweb/bugs.php3 diff -u phpweb/bugs.php3:1.113 phpweb/bugs.php3:1.114 --- phpweb/bugs.php3:1.113 Sat Jun 26 16:14:50 1999 +++ phpweb/bugs.php3 Sun Jun 27 22:20:49 1999 @@ -467,7 +467,7 @@ echo "<tr><th align=right>Assigned To:</th><td>".$row[12]."</td></tr>\n"; $sd = ereg_replace("<","&lt;",$row[3]); $sd = ereg_replace(">","&gt;",$sd); - echo "<tr><th align=right>Short Desc.:</th><td></b>$sd<input type=hidden name=esdesc value=\"$row[3]\"></td></tr>\n"; + echo "<tr><th align=right>Short Desc.:</th><td></b>$sd<input type=hidden name=esdesc value=\"", htmlspecialchars($row[3]), "\"></td></tr>\n"; echo "</table>\n"; /* INSERT NEW COMMENT HERE */

« previous php.mirrors (#13) next »