-
-
Notifications
You must be signed in to change notification settings - Fork 10
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
Whois $ rdap error Invalid TLD. Please search only allowed TLDs #178
Comments
Please clarify or give another example as I'm unable to reproduce. From what I understand, you want to change the error message or? |
Assuming clean install ... all "test" data deleted.... (.test TLDs and so on) /var/www/cp/.env -> TEST_TLDS=.3rdlvl.example2rdlv.com,.3rdlvl.example.com,.example.com test1.3rdlvl.example2rdlv.com are 'registered' no errors whois web and p 43 rdap the error {"error":"Invalid TLD. Please search only allowed TLDs"} is becouse main domain (example.com) is required too.... NOTE to 'fix' Invalid TLD format (No need to actually fix this //doesn't allow 3rd lvl tlds// Invalid TLD format in new version) SystemController.php line 593 and line 886 if (!preg_match('/^.(xn--[a-zA-Z0-9-]+|[a-zA-Z0-9-]+(.[a-zA-Z0-9-]+)?)$/', $args)) {
|
I think I got it and it's fixed in 1.0.8, thank you. Please reopen if you still experience it. |
Sorry, its fixed only in CP. |
TLDs in system(db) and ofcourse in 'Test TLDs=' just one for example ->
test0.example.com
created domain t1.test0.example.com
t1.test0.example.com -> whois Invalid TLD. Please search only allowed TLDs / rdap -> Error: Invalid TLD. Please search only allowed TLDs
that's becuse supposedly system requires that example.com be present in TLDs (db domain_tld)
->
checked when example.com is added as TLD... whois and rdap works fine ....
please fix it ....
To my mind from one point of view it could be viewed as a security fiture , from other as a bug ....
The text was updated successfully, but these errors were encountered: