X-Git-Url: https://git.p6c8.net/jirafeau/jirafeau.git/blobdiff_plain/328d97ffe5b2d15a3881754a5676feefaa2608e3..refs/merge-requests/37/head:/f.php diff --git a/f.php b/f.php index 269b10b..b13e03b 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') . '