From 588fb13b5d82b39aaf1aa3d46e71e7c46e42bcf1 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 25 Aug 2007 04:36:19 +0100 Subject: [PATCH] getFeedCounters: escape last_updated --- functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.php b/functions.php index 86d59142..f3f82d31 100644 --- a/functions.php +++ b/functions.php @@ -2322,6 +2322,8 @@ $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, -- 2.39.2