Comments (5)
seems the reason is this line in code
if (index + 1 >= email.Length || index > 64 || email[index++] != '@')
OR condition is evaluated without order, so index is being incremented, [index++], before checking size index > 64
from emailvalidation.
No, this was fixed in September, I just never made a 1.0.7 release: see commit 819f5c8
from emailvalidation.
You guys don't need net45, do you? Is it ok if I bump the minimum supported .NET Framework to at least 4.5.2?
from emailvalidation.
yes, we are using .NET 5
from emailvalidation.
Just released 1.0.7 with the fix for this.
from emailvalidation.
Related Issues (20)
- Does not handle comments (No biggie but stumbled upon this) HOT 3
- Latest update fails on two of our test cases passed with previous HOT 2
- Sign NuGet package HOT 2
- About temp emails HOT 3
- release fix for max-length bugs HOT 1
- Some valid domain IP literals fail validation HOT 4
- Incorrect length checking HOT 5
- Quoted strings with control characters pass validation HOT 1
- Digits in domain names clarification HOT 1
- Nullabe ValidationContext is required HOT 2
- Problematic emails HOT 3
- Problematic emails 2 HOT 2
- allowInternational and spaces HOT 2
- Addresses with quoted string with a folding white space fail validation HOT 2
- IPv6 address literals should not start with a single colon
- `EmailAttribute` should allow null values HOT 2
- Is it possible to find out the reason why the mail is invalid? HOT 3
- NuGet package update HOT 1
- allowInternational breaks with four-byte UTF-8 characters HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emailvalidation.