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 up
EmailStr is not case-sensitive on local part of email per RFC 5321 #798
EmailStr validate-method performs lower() on whole string including local part, violating RFC 5321 by not conforming to
Where possible please include a self contained code snippet describing your bug:
import pydantic assert pydantic.EmailStr.validate('AbC@example.com') == 'AbC@example.com'