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

"nameservers?name" query cannot find a nameserver by ldhName #17

Closed
TheRedTrainer opened this issue Apr 12, 2019 · 1 comment
Closed

Comments

@TheRedTrainer
Copy link

When an user executes a query searching nameservers by name, if the query parameter is a ldhname, the rdap server doesn't bring any results. For example the following rdap query:

http://localhost:8080/rdap-server/nameservers?name=ns1.xn--foo21-pm4d.org

doesn't return any results (despite the fact that there is a valid ns with that name in BD) and it logs the following db query:

SELECT DISTINCT(nse.nse_id), nse.nse_handle,nse.nse_ldh_name, nse.nse_port43, nse.nse_unicode_name FROM rdap.nameserver nse WHERE nse.nse_ldh_name='ns1.fooア21.org' OR nse.nse_unicode_name='ns1.fooア21.org' ORDER BY 1 LIMIT 6;

dhfelix added a commit that referenced this issue Apr 22, 2019
Update mysql driver to support MySQL 8.0.15
Fix #17
@TheRedTrainer
Copy link
Author

Verified. All the inputs used in nameservers and domains searchs are validated and parsed to unicode strings, in order to match the unique domain/nameserver name column in db (domain.dom_unicode_name, nameserver.nse_unicode_name)

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

No branches or pull requests

1 participant