Skip to content
Snippets Groups Projects
Commit 38f3f4d1 authored by Florian Azizian's avatar Florian Azizian
Browse files

FIX #7418 increase extension length for email

parent 87d631a6
No related branches found
No related tags found
No related merge requests found
......@@ -304,7 +304,7 @@ class functions
}
case "mail":
if (preg_match("/^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]{2,4}$/",$w_var))
if (preg_match("/^[a-zA-Z0-9._-]+@[a-zA-Z0-9._-]+\.[a-zA-Z]{2,10}$/",$w_var))
{
return $w_var;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment