diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-04 11:41:10 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2009-03-04 11:41:10 +0000 |
commit | 6bd1f0516481d7795b8551f4b60714fcd200be8d (patch) | |
tree | 618768a2f2a225ad8826285258be9b5d3c809f84 /views/rss/group/default.php | |
parent | da9a2faf1a6c3271d5b876ae13a78e58c834b54a (diff) | |
download | elgg-6bd1f0516481d7795b8551f4b60714fcd200be8d.tar.gz elgg-6bd1f0516481d7795b8551f4b60714fcd200be8d.tar.bz2 |
URL sanitation for RSS feeds
git-svn-id: https://code.elgg.org/elgg/trunk@3066 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/rss/group/default.php')
-rw-r--r-- | views/rss/group/default.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/rss/group/default.php b/views/rss/group/default.php index 72d0dbd9a..281dc93cc 100644 --- a/views/rss/group/default.php +++ b/views/rss/group/default.php @@ -14,9 +14,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 (($vars['entity']->name)); ?>]]></title>
<description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description>
</item>
|