qri-io / jsonschema

golang implementation of https://json-schema.org drafts 7 & 2019-09
MIT License
461 stars 54 forks source link

Fix email validation #87

Open Surfoo opened 3 years ago

Surfoo commented 3 years ago

mail.ParseAddress return a reformated email if the format is not really an email (with a space after of before for example). A check was added to compare the input and the output from mail.ParseAddress.