commit 2b18d5c4dd4ab6cfc24a5893483465b8fbea3354 from: mischa date: Mon May 16 19:47:32 2022 UTC longer .tld support commit - e6a83a4efd455c76e732c16f22b7b0ff914d84b4 commit + 2b18d5c4dd4ab6cfc24a5893483465b8fbea3354 blob - 5bdbbfad088e72bab634fe415f2161227bc9c114 blob + d96fb3a9836116af1750abb435002fc270b8ca0f --- index.php +++ index.php @@ -32,7 +32,7 @@ include "config.inc"; // Minimalist Admin version -$version = "0.6"; +$version = "0.7"; // Set some variables. $get_list = ""; @@ -116,7 +116,7 @@ if ($_SERVER['REQUEST_METHOD'] == "POST") exit; } - if (!preg_match('/^[-!#$%&\'*+\\.\/0-9=?A-Z^_{|}~]+' . '@' . '([-0-9A-Z]+\.)+' . '([0-9A-Z]){2,4}$/i', trim($email))) + if (!preg_match('/^[-!#$%&\'*+\\.\/0-9=?A-Z^_{|}~]+' . '@' . '([-0-9A-Z]+\.)+' . '([0-9A-Z]){2,10}$/i', trim($email))) { print "$error_email_notvalid\n"; print_form(); @@ -198,7 +198,7 @@ function print_footer() { global $version; print "
\n"; - print "Copyright (c) 2005-2011 by High5! -- Minimalist Admin v$version\n"; + print "Copyright (c) 2005-2022 by High5! -- Minimalist Admin v$version\n"; print "
\n"; print "\n"; print "\n";