We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b58de1f commit 5dc6d99Copy full SHA for 5dc6d99
server/StrDss.Common/CommonUtils.cs
@@ -87,7 +87,7 @@ public static bool IsValidEmailAddress(string email)
87
88
if (!valid) return false;
89
90
- if (email.StartsWith(".") || email.EndsWith(".") || email.Contains(".@") || email.Contains("@.")) return false;
+ if (email.StartsWith(".") || email.EndsWith(".") || email.Contains(".@") || email.Contains("@.") || email.Contains("..")) return false;
91
92
return true;
93
}
0 commit comments