]> git.wh0rd.org Git - tt-rss.git/commitdiff
escape feed title in generated feed
authorAndrew Dolgov <fox@bah.spb.su>
Mon, 31 Jul 2006 13:20:04 +0000 (14:20 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Mon, 31 Jul 2006 13:20:04 +0000 (14:20 +0100)
functions.php

index 5fd65c1d6f93c0bc89dcf551f8b760454c22914d..a58613ccb7d63f5fb2bada6d8a04d98d79e7540c 100644 (file)
                                30, false, $is_cat, $search, $search_mode, $match_on);
 
                $result = $qfh_ret[0];
-               $feed_title = $qfh_ret[1];
+               $feed_title = htmlspecialchars($qfh_ret[1]);
                $feed_site_url = $qfh_ret[2];
                $last_error = $qfh_ret[3];