Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upEmailStr is not case-sensitive on local part of email per RFC 5321 #798
Labels
Comments
This comment has been minimized.
This comment has been minimized.
Thanks for reporting, PR welcome to fix this. |
This comment has been minimized.
This comment has been minimized.
Closing as it looks like this was addressed by #801. Thanks for the contribution @henriklindgren! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug
EmailStr validate-method performs lower() on whole string including local part, violating RFC 5321 by not conforming to
See
pydantic/pydantic/networks.py
Line 383 in 7901711
import sys; print(sys.version)
: Anyimport pydantic; print(pydantic.VERSION)
: 0.32.2Where possible please include a self contained code snippet describing your bug: