Skip to content

added optional TLD validation (#55)#60

Open
ferret-guy wants to merge 1 commit intosyrusakbary:masterfrom
ferret-guy:master
Open

added optional TLD validation (#55)#60
ferret-guy wants to merge 1 commit intosyrusakbary:masterfrom
ferret-guy:master

Conversation

@ferret-guy
Copy link

Added optional TLD validation per issue #55

@HaraldNordgren
Copy link

I'm not sure we need to validate the correctness of the top-level domain. We run the risk the domain list goes out-of-sync and might be hard to maintain.

I would be happy with a just checking that the string after '@' contains a dot.

@racitup
Copy link

racitup commented Apr 24, 2018

Yeah I agree this should not have a list of TLD's to maintain. A dot check of the domain portion should be sufficient

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