jhthorsen / json-validator

:cop: Validate data against a JSON schema
https://metacpan.org/release/JSON-Validator
56 stars 57 forks source link

fix email checking #258

Closed Skeeve closed 2 years ago

Skeeve commented 2 years ago

Summary

email validation accepts stuff like "a@b@c" and "something a@b somemore" as valid email addresses because there is no anchoring in the regexp.

Motivation

I do not think those infalid addresses should be accepted.

References

n/a