X-Git-Url: https://git.p6c8.net/jirafeau/pcanterino.git/blobdiff_plain/b6f423726c6f71c769fc7d7f3b842f623595a808..b41ebdfd98d088ec95fcca787a080a4d044580fc:/f.php?ds=inline
diff --git a/f.php b/f.php
index ed7d782..b13e03b 100644
--- a/f.php
+++ b/f.php
@@ -3,6 +3,7 @@
* Jirafeau, your web file repository
* Copyright (C) 2008 Julien "axolotl" BERNARD
* Copyright (C) 2015 Jerome Jutteau
+ * Copyright (C) 2024 Jirafeau project (see AUTHORS.md)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -15,7 +16,7 @@
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
+ * along with this program. If not, see .
*/
define('JIRAFEAU_ROOT', dirname(__FILE__) . '/');
@@ -35,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 '