mirror of
https://github.com/kennethreitz/pydantic.git
synced 2026-06-21 07:10:58 +00:00
ee52496101
* small tweaks to email validation * more test examples * change and better error messages * remove duplicate tests * linting * tweak from @hramezani
4 lines
313 B
Markdown
4 lines
313 B
Markdown
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
|