[Uno.Core] ValidationHelper.IsEmail returns valid for x@x.x while it's not.
alexvlaar opened this issue · 1 comments
alexvlaar commented
Current behavior
x@x.x is returned as valid by the validation helper.
Method documentation indicates it should validate minimum format of x@x.xx
Expected behavior
x@x.x is returned as invalid
How to reproduce it (as minimally and precisely as possible)
var isValid = ValidationHelper.IsEmail("x@x.x");
Environment
Nuget Package:
Package Version(s): 1.29.0-dev.93
Affected platform(s):
Probably all.
- iOS
- Android
- WebAssembly
- WebAssembly renderers for Xamarin.Forms
- Windows
- Build tasks
- Solution Templates
Visual Studio:
- 2017 (version: )
- 2019 (version: )
- for Mac (version: )
Relevant plugins:
- Resharper (version: )
Anything else we need to know?
jeromelaban commented
Looks like we're missing unit tests for this:
Those should help: #62
@alexvlaar could you add you test in this branch ?