-
-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Domain names are case insensitive #9
Comments
Hello Alexey! Indeed it is true, but properly configured server never should return 'DoMain.cOm' as HELO request argument. |
This is not true - there is nothing in the current standards preventing usage of uppercase or mixed-case domains (See RFC 4343). There is common usage of all uppercase emails like JOHN.DOE@GMAIL.COM (especially in Windows environment as they historically defaulted to uppercase domain names) or mixed case emails like John.Doe@GMail.com. Those emails are valid and are accepted and delivered by standard complaint mail software without problem. But |
Thank you, Alexey 👍 Fixed! |
Domain names are case insensitive, e.g. example.com, EXAMPLE.COM and examPLE.Com should all be treated as the same domain, but this code currently allows only lowercase domain names and rejects uppercase or mixed-case as invalid.
The text was updated successfully, but these errors were encountered: