Commit Diff


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 "<div id=\"footer\">\n";
-  print "Copyright (c) 2005-2011 by <a target=\"blank\" href=\"http://high5.net/\">High5!</a> -- Minimalist Admin v$version</a>\n";
+  print "Copyright (c) 2005-2022 by <a target=\"blank\" href=\"http://high5.net/\">High5!</a> -- Minimalist Admin v$version</a>\n";
   print "</div>\n";
   print "</body>\n";
   print "</html>\n";