X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/1733d88de2fe686cf95ef396eb1566e7db336b0a..refs/merge-requests/39/head:/f.php diff --git a/f.php b/f.php index 870b4bd..3523596 100644 --- a/f.php +++ b/f.php @@ -36,7 +36,7 @@ if (!isset($_GET['h']) || empty($_GET['h'])) { $link_name = $_GET['h']; -if (!preg_match('/[0-9a-zA-Z_-]+$/', $link_name)) { +if (!preg_match('/^[0-9a-zA-Z_-]+$/', $link_name)) { require(JIRAFEAU_ROOT.'lib/template/header.php'); echo '
' . t('FILE_404') . '