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 +++++++------- modules/rss/views/feed.mrss.php | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) (limited to 'modules/rss') 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) ?> - + en-us @@ -22,17 +22,17 @@ - <?= $child["title"]?> - - + <?= p::clean($child["title"]) ?> + +

+

" - height="" width="" /> + height="" width="" />

]]> diff --git a/modules/rss/views/feed.mrss.php b/modules/rss/views/feed.mrss.php index c581e5e0..0beebbcf 100644 --- a/modules/rss/views/feed.mrss.php +++ b/modules/rss/views/feed.mrss.php @@ -6,9 +6,9 @@ xmlns:fh="http://purl.org/syndication/history/1.0"> gallery3 - <?= htmlspecialchars($title) ?> + <?= p::clean($title) ?> - + en-us @@ -22,25 +22,25 @@ - <?= htmlspecialchars($child->title) ?> + <?= p::clean($child->title) ?> type}s/{$child->id}") ?> type}s/{$child->id}") ?> created); ?> description ?> + description) ?>

type == "photo" || $child->type == "album"): ?>
type}s/{$child->id}") ?>">
- description ?> + description) ?>

]]>
-- cgit v1.2.3