logicnow / BlueSky

An SSH tunneling solution for remote Mac-to-Mac connectivity (formerly a Mac-MSP product)
Apache License 2.0
39 stars 15 forks source link

function isEmail($email) fails to recognize new TLDs. #12

Closed grigutis closed 6 years ago

grigutis commented 6 years ago

For example, .technology TLDs are not accepted. I see that there is an email validation filter in php that would work for this case:

filter_var($email, FILTER_VALIDATE_EMAIL)

but it won't recognize the default case of root@localhost.

sphen13 commented 6 years ago

pushed to 2.3 branch