-
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
IDNs in the zone table #103
Comments
The code needs a fix to support IDN in zones.
When the code asks for a domain in the database, the domain query information is sent as u-label, so the domain information in the database must be in u-label. |
But I assume the query itself from a URL standpoint can be the Punycode variant? |
yes, the user can ask as a-label or u-label, in fact the server module just check if it is a valid domain name, our rdap-sql-provider searches in the db in u-label only. |
I just release a new version of RDAP-core.jar and Rdap-sql-provider.jar , replace your old Jars with the new ones, and thats it, it should work. I still need to update the documentation, and maybe update the rdap-server.war with this new jars |
Thanks @dhfelix In regards to the zone.zone_name should be zone name be stored as a-label or u-label in the database? |
Oh right, my bad sorry, It should be stored in u-label format. |
In regards to the zone table should IDNs be added as punycode (i.e. xn--)?
We have a number of IDN tlds and when we try and retrieve from a domain query (in which the extension is provided as punycode) we get a "Zone not found"
Also as a side question I assume that we shouldn't us using punycode conversion when adding in a domain name to the domain.dom_unicode_name field?
The text was updated successfully, but these errors were encountered: