summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-06-12 11:40:29 +0400
committerAndrew Dolgov <[email protected]>2009-06-12 11:40:29 +0400
commit70c9b173145a9f3cb74f681afcc4dee9e1a2314d (patch)
treea49f624bac53d212d18d4cf475c4c8f09d3dacaa
parent3213d148e1e3c59710e3022db62fcacec8994d3b (diff)
feedlist: htmlspecialchars() feed title
-rw-r--r--functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.php b/functions.php
index 8f6ae8900..c89f11a13 100644
--- a/functions.php
+++ b/functions.php
@@ -4261,7 +4261,7 @@
while ($line = db_fetch_assoc($result)) {
- $feed = trim($line["title"]);
+ $feed = htmlspecialchars(trim($line["title"]));
if (!$feed) $feed = "[Untitled]";