Task ID 73

Added htmlspecialchars and stripslashes where appropriate


git-svn-id: http://svn.automattic.com/wordpress/trunk@817 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2004-02-01 02:30:37 +00:00
parent 5ad9e0c4e6
commit d0c32fcced
1 changed files with 2 additions and 2 deletions

View File

@ -48,12 +48,12 @@ if ((empty($link_cat)) || ($link_cat == 'all') || ($link_cat == '0')) {
<?php <?php
} // end if not first time } // end if not first time
?> ?>
<outline type="category" text="<?php echo($result->cat_name) ?>"> <outline type="category" text="<?php echo(htmlspecialchars(stripslashes($result->cat_name))) ?>">
<?php <?php
$prev_cat_id = $result->link_category; $prev_cat_id = $result->link_category;
} // end if new category } // end if new category
?> ?>
<outline type="link" text="<?php echo($result->link_name) ?>" url="<?php echo($result->link_url) ?>"/> <outline type="link" text="<?php echo(htmlspecialchars(stripslashes($result->link_name))) ?>" url="<?php echo($result->link_url) ?>"/>
<?php <?php
} // end foreach } // end foreach
} // end if } // end if