From 777f7f072c92bb2db3db393a7607fb68b5e5b56a Mon Sep 17 00:00:00 2001 From: cweiske Date: Tue, 19 Jan 2010 20:32:10 +0000 Subject: [PATCH] Fix bug #2934891: RSS XML was sometimes invalid because special characters did not get escaped. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@617 b3834d28-1941-0410-a4f8-b48e95affb8f --- data/templates/rss.tpl.php | 16 ++++++++-------- doc/ChangeLog | 2 ++ 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/data/templates/rss.tpl.php b/data/templates/rss.tpl.php index 21bdeab..e6e66f7 100644 --- a/data/templates/rss.tpl.php +++ b/data/templates/rss.tpl.php @@ -3,22 +3,22 @@ echo '<' . '?xml version="1.0" encoding="utf-8" ?' . ">\n"; ?> - <?php echo $feedtitle; ?> - - + <?php echo htmlspecialchars($feedtitle); ?> + + 60 - <?php echo $bookmark['title']; ?> - - - + <?php echo htmlspecialchars($bookmark['title']); ?> + + + - + diff --git a/doc/ChangeLog b/doc/ChangeLog index 1f44ed9..9c7fa0e 100644 --- a/doc/ChangeLog +++ b/doc/ChangeLog @@ -15,6 +15,8 @@ ChangeLog for SemantiScuttle Patch by fnorder@users.sourceforge.net - Implement request #2934872: Option to set the "no description" description. Patch by fnorder@users.sourceforge.net +- Fix bug #2934891: RSS XML was sometimes invalid because + special characters did not get escaped. 0.95.2 - 2010-01-16