diff options
Diffstat (limited to 'views/rss/object')
-rw-r--r-- | views/rss/object/default.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/rss/object/default.php b/views/rss/object/default.php index 5e50971c9..7b55c5846 100644 --- a/views/rss/object/default.php +++ b/views/rss/object/default.php @@ -22,9 +22,9 @@ ?>
<item>
- <guid isPermaLink='true'><?php echo $vars['entity']->getURL(); ?></guid>
+ <guid isPermaLink='true'><?php echo htmlspecialchars($vars['entity']->getURL()); ?></guid>
<pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate>
- <link><?php echo $vars['entity']->getURL(); ?></link>
+ <link><?php echo htmlspecialchars($vars['entity']->getURL()); ?></link>
<title><![CDATA[<?php echo $title; ?>]]></title>
<description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
</item>
|