2

Resolved

Valid email throws invalid

description

With my input "2xxx1414@i.ua" that is a valid email (http://www.i.ua/ actually does exists) orchard says that email is invalid
I used this code:
if (!Regex.IsMatch(input.Email ?? "", UserPart.EmailPattern, RegexOptions.IgnoreCase)) {
    result.AddError(T("You must specify a valid email address."));
}

file attachments

comments

sebastienros wrote Jul 11, 2013 at 12:25 AM

Fixed in changeset 437860c0298e

sfmskywalker wrote Mar 28 at 1:28 AM

Fixed in changeset 6f7bc1b87a9219f0a462998e13f1c73655d8a55d

hkui wrote Mar 28 at 7:10 AM

sfmskywalker: Where can i view that changeset?

JasperD wrote Mar 28 at 8:05 AM

Well, I'm not Sipke, but here you go: https://orchard.codeplex.com/SourceControl/changeset/6f7bc1b87a9219f0a462998e13f1c73655d8a55d
Looks like Sipke updated a bunch of old issues that referenced pre Git (Hg) commits to reference the Git commits.