From: Jerome Jutteau Date: Mon, 30 Apr 2018 17:29:03 +0000 (+0200) Subject: [BUGFIX] Fix mime_type escaping X-Git-Tag: 3.4.1~7 X-Git-Url: https://git.p6c8.net/jirafeau_mojo42.git/commitdiff_plain/db2c9c7773cd5d14b732689b2e844e62d2773be5 [BUGFIX] Fix mime_type escaping Signed-off-by: Jerome Jutteau --- 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 '';