From db2c9c7773cd5d14b732689b2e844e62d2773be5 Mon Sep 17 00:00:00 2001 From: Jerome Jutteau Date: Mon, 30 Apr 2018 19:29:03 +0200 Subject: [PATCH] [BUGFIX] Fix mime_type escaping Signed-off-by: Jerome Jutteau --- lib/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/functions.php b/lib/functions.php index b417769..3a50eac 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -612,7 +612,7 @@ function jirafeau_admin_list($name, $file_hash, $link_hash) '' . jirafeau_escape($l['file_name']) . ''; echo ''; - echo '' . $l['mime_type'] . ''; + echo '' . jirafeau_escape($l['mime_type']) . ''; echo '' . jirafeau_human_size($l['file_size']) . ''; echo '' . ($l['time'] == -1 ? '∞' : jirafeau_get_datetimefield($l['time'])) . ''; echo ''; -- 2.34.1