X-Git-Url: https://git.p6c8.net/jirafeau.git/blobdiff_plain/063c21d8341dbade23c21427e6c9de447b67cc16..02ffb9fe02fbdb2abfa3c449ca60e37e76126f14:/lib/functions.php?ds=inline diff --git a/lib/functions.php b/lib/functions.php index 1800231..0f42e21 100644 --- a/lib/functions.php +++ b/lib/functions.php @@ -614,7 +614,7 @@ jirafeau_admin_list ($name, $file_hash, $link_hash) continue; /* Filter. */ - if (!empty ($name) && !preg_match ("/$name/i", $l['file_name'])) + if (!empty ($name) && !preg_match ("/$name/i", htmlspecialchars($l['file_name']))) continue; if (!empty ($file_hash) && $file_hash != $l['md5']) continue; @@ -626,7 +626,7 @@ jirafeau_admin_list ($name, $file_hash, $link_hash) '
'; echo ''; echo '