]> git.mjollnir.org Git - s9y.git/commitdiff
Missing commit
authorgarvinhicking <garvinhicking>
Sat, 2 Feb 2008 11:05:35 +0000 (11:05 +0000)
committergarvinhicking <garvinhicking>
Sat, 2 Feb 2008 11:05:35 +0000 (11:05 +0000)
include/admin/entries.inc.php

index c0a8075b635740f45c86b62a132c81160ed86f23..df3cdb71deb84e1904c5e8e4d119f12ed6e8b734 100644 (file)
@@ -266,13 +266,13 @@ function serendipity_drawList() {
                     <tr>
                         <td>
                             <?php
-                echo POSTED_BY . ' ' . $entry['author'];
+                echo POSTED_BY . ' ' . htmlspecialchars($entry['author']);
                 if (count($entry['categories'])) {
                     echo ' ' . IN . ' ';
                     $cats = array();
                     foreach ($entry['categories'] as $cat) {
                         $caturl = serendipity_categoryURL($cat);
-                        $cats[] = '<a href="' . $caturl . '">' . $cat['category_name'] . '</a>';
+                        $cats[] = '<a href="' . $caturl . '">' . htmlspecialchars($cat['category_name']) . '</a>';
                     }
                     echo implode(', ', $cats);
                 }