Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3203
Modified Files:
NEWS rss.php
Log Message:
bugfix #983242, missing entity encoding for RSS feeds blog title/desc
Index: rss.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/rss.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- rss.php 11 Jun 2004 12:19:05 -0000 1.27
+++ rss.php 1 Jul 2004 11:43:07 -0000 1.28
@@ -76,8 +76,8 @@
break;
}
-$title = serendipity_utf8_encode($title);
-$description = serendipity_utf8_encode($description);
+$title = serendipity_utf8_encode(htmlspecialchars($title));
+$description = serendipity_utf8_encode(htmlspecialchars($description));
include_once(S9Y_INCLUDE_PATH . 'serendipity_plugin_api.php');
$plugins = serendipity_plugin_api::enum_plugins();
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.161
retrieving revision 1.162
diff -u -d -r1.161 -r1.162
--- NEWS 1 Jul 2004 11:34:20 -0000 1.161
+++ NEWS 1 Jul 2004 11:43:07 -0000 1.162
@@ -3,6 +3,9 @@
Version 0.7 ()
------------------------------------------------------------------------
+ * Fixed bug #983242: Missing entity encoding for blogtitle/subtitle
+ for RSS feeds, thanks to Christian Wenz!
+
* Added dutch and portugues language. Thanks to Paul de Bruyne and
Ranulfo Netto!
|