Skip to content
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

Increase TLD maximum length #61

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

infinisil
Copy link
Contributor

A user with a .construction (length 13) Email pointed this out: NixOS/SC-election-2024#6

I'm updating it to 18, because there's TLDs like https://nic.travelersinsurance/, though in theory you can have TLDs up to length 63, see https://stackoverflow.com/a/22038535.

A user with a .construction (length 13) Email pointed this out.

I'm updating it to 18, because there's TLDs like https://nic.travelersinsurance/
@piegamesde
Copy link

At which point I honestly don't see much of the point of keeping the length limit at all in the first place. Back in the days where TLDs were all short it may have been useful to prevent errors. But in the end, the only true way to test if an email address is valid is to send it a mail anyways

Copy link
Owner

@andrewcmyers andrewcmyers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good change, thanks.

@andrewcmyers andrewcmyers merged commit 085c287 into andrewcmyers:master Sep 17, 2024
@infinisil
Copy link
Contributor Author

@andrewcmyers Thanks! Are you also able to deploy this soon?

@piegamesde I opted for minimal changes, but I agree. Considering this is merged already now I'm not inclined to make another PR though :P

@infinisil infinisil deleted the patch-1 branch September 17, 2024 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants