mirror of
https://gitlab.com/mojo42/Jirafeau.git
synced 2025-01-18 21:28:10 +01:00
Fix link name length check
This commit is contained in:
parent
c4b50888f4
commit
8e9d60538d
@ -319,7 +319,7 @@ elseif (isset ($_GET['h']))
|
||||
if (isset ($_GET['d']))
|
||||
$d = $_GET['d'];
|
||||
|
||||
if (!preg_match ('/[0-9a-zA-Z_-]{22}$/', $link_name))
|
||||
if (!preg_match ('/[0-9a-zA-Z_-]+$/', $link_name))
|
||||
{
|
||||
echo "Error";
|
||||
exit;
|
||||
|
Loading…
x
Reference in New Issue
Block a user