-
Notifications
You must be signed in to change notification settings - Fork 8
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
Using wildcards while searching domain by name/nsLdhName idn (*xn--*) #55
Comments
Just to clarify the description: there was a problem with the markdown, I believe that what you meant to describe was: example.com/rdap-server/domains?name=*xn--* Right? |
That's right. My bad. I meant xn-- for name and nsLdhName. |
No problem ;) |
This is a problem from a dependency inherited from rdap-core, specifically: <groupId>com.ibm.icu</groupId>
<artifactId>icu4j</artifactId>
<version>58.2</version> The issue is at com.ibm.icu.impl.UTS46 class that's used at mx.nic.rdap.core.db.DomainLabel. As seen in the source code of UTS46 class there's a comment: So far this issue is still present, no patch or fix has been made. Recommendations and help are welcomed. Leaved as enhancement since it's out of scope for milestone 1.2.0. |
Should the name and nsLdhName domain's searches including an idn and a wildcard be allowed? For example, if you execute the following searches:
example.com/rdap-server/domains?name=xn--
example.com/rdap-server/domains?nsLdhName=xn--
the server send a response. However, if you execute the following searches:
example.com/rdap-server/domains?name=xn--*
example.com/rdap-server/domains?nsLdhName=ns0.xn--.
the server answers: "400: Bad request".
The text was updated successfully, but these errors were encountered: