]> git.wh0rd.org - tt-rss.git/commitdiff
getFeedCounters: escape last_updated
authorAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Aug 2007 03:36:19 +0000 (04:36 +0100)
committerAndrew Dolgov <fox@bah.spb.su>
Sat, 25 Aug 2007 03:36:19 +0000 (04:36 +0100)
functions.php

index 86d591420d921988c4345664d6c502927ef59d6c..f3f82d312f27e398439d9bf7c55f0920da54cef9 100644 (file)
                                $last_updated = date($short_date, strtotime($line["last_updated"]));
                        }                               
 
+                       $last_updated = htmlspecialchars($last_updated);
+
                        $has_img = is_file(ICONS_DIR . "/$id.ico");
 
                        $tmp_result = db_query($link,