]> git.wh0rd.org Git - tt-rss.git/commitdiff
feedlist: htmlspecialchars() feed title
authorAndrew Dolgov <fox@bah.org.ru>
Fri, 12 Jun 2009 07:40:29 +0000 (11:40 +0400)
committerAndrew Dolgov <fox@bah.org.ru>
Fri, 12 Jun 2009 07:40:29 +0000 (11:40 +0400)
functions.php

index 8f6ae89001deb4b0864e79b459fca82bc013ba5d..c89f11a1343b2ae1d8b2b7f6083cd3ccf31c7bbe 100644 (file)
        
                        while ($line = db_fetch_assoc($result)) {
                        
-                               $feed = trim($line["title"]);
+                               $feed = htmlspecialchars(trim($line["title"]));
 
                                if (!$feed) $feed = "[Untitled]";