cvs: pearweb /include pear-format-html.php

From: Date: Sat, 29 Dec 2001 02:40:23 +0000
Subject: cvs: pearweb /include pear-format-html.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-1742@lists.php.net to get a copy of this message
heyesr Fri Dec 28 21:40:23 2001 EDT Modified files: /pearweb/include pear-format-html.php Log: Variable wasn't being htmlspecialchar()ed Index: pearweb/include/pear-format-html.php diff -u pearweb/include/pear-format-html.php:1.22 pearweb/include/pear-format-html.php:1.23 --- pearweb/include/pear-format-html.php:1.22 Thu Dec 27 22:48:31 2001 +++ pearweb/include/pear-format-html.php Fri Dec 28 21:40:23 2001 @@ -269,9 +269,9 @@ "<a href=\"$PHP_SELF?catpid={$row['id']}&catname={$row['name']}\">". "{$row['name']}</a>"; } - $html .= " :: <b>$name</b>"; + $html .= " :: <b>".htmlspecialchars($name)."</b>"; } - print "$html<br /><br />"; + print "$html"; } function localRedirect($file)

« previous php.pear.cvs (#1742) next »