mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-05 23:00:18 +00:00
ee52496101
* small tweaks to email validation * more test examples * change and better error messages * remove duplicate tests * linting * tweak from @hramezani
313 B
313 B
Changes to email validation: whitespace is stripped from names, e.g. ' Fred Smith <fred@example.com>',
unicode NFC normalization is applied to the local part, the domain part is cleaned to the internationalized form
by round-tripping through IDNA ASCII, better error messages are provided when validation fails