From 9369ccab7fb3413d63e218cec81b4cf43442fd98 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sun, 31 May 2009 01:02:51 -0700
Subject: Run all variables that come from user-entered data through p::clean()
---
modules/rss/views/comment.mrss.php | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
(limited to 'modules/rss/views/comment.mrss.php')
diff --git a/modules/rss/views/comment.mrss.php b/modules/rss/views/comment.mrss.php
index 8b7e4f70..d2177026 100644
--- a/modules/rss/views/comment.mrss.php
+++ b/modules/rss/views/comment.mrss.php
@@ -6,9 +6,9 @@
xmlns:fh="http://purl.org/syndication/history/1.0">
gallery3
- = $title ?>
+ = p::clean($title) ?>
= $link ?>
- = htmlspecialchars($description) ?>
+ = p::clean($description) ?>
en-us
@@ -22,17 +22,17 @@
= $pub_date ?>
foreach ($children as $child): ?>
-
- = $child["title"]?>
- = $child["item_link"] ?>
- = $child["author"] ?>
+ = p::clean($child["title"]) ?>
+ = p::clean($child["item_link"]) ?>
+ = p::clean($child["author"]) ?>
= $child["item_link"] ?>
= $child["pub_date"] ?>
= $child["text"] ?>
+ = p::clean($child["text"]) ?>
"
- height="= $child["thumb_height"] ?>" width="= $child["thumb_width"] ?>" />
+ height="= $child["thumb_height"] ?>" width="= $child["thumb_width"] ?>" />
]]>
--
cgit v1.2.3