Domaincheck did not support the new TLD "consulting"

Report bugs and workarounds
Post Reply
dromaius
Posts: 1
Joined: 25 Nov 2014 19:52

Domaincheck did not support the new TLD "consulting"

Post by dromaius »

Hi,

the domaincheck accept only TLD with max 6 letters. "consulting" has 10 letters.

I found on github : v3 / build / EFA / lib-EFA-Configure / func_mailsettings

line 90, 129, 168, 208 a domain check:

Code: Select all

if [[ $DOMAIN =~ ^[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9-]+)*\.[a-z]{2,6}$ ]];
should be replaces by

Code: Select all

if [[ $DOMAIN =~ ^[a-zA-Z0-9]+([\-\.]{1}[a-zA-Z0-9-]+)*\.[a-z]{2,10]$ ]];

- Dromaius
Post Reply