mirror of
https://github.com/google/nomulus
synced 2025-12-23 14:25:44 +00:00
Removes fixed TODO
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=117278234
This commit is contained in:
committed by
Justine Tunney
parent
847dac792a
commit
cd13aa8a96
@@ -99,7 +99,6 @@ public class RdapDomainSearchAction extends RdapActionBase {
|
||||
ImmutableList<ImmutableMap<String, Object>> results;
|
||||
if (nameParam.isPresent()) {
|
||||
// syntax: /rdap/domains?name=exam*.com
|
||||
// TODO(b/24329745): improve IDN handling
|
||||
String asciiName;
|
||||
try {
|
||||
asciiName = Idn.toASCII(nameParam.get());
|
||||
|
||||
@@ -92,7 +92,6 @@ public class RdapNameserverSearchAction extends RdapActionBase {
|
||||
ImmutableList<ImmutableMap<String, Object>> results;
|
||||
if (nameParam.isPresent()) {
|
||||
// syntax: /rdap/nameservers?name=exam*.com
|
||||
// TODO(b/24329745): improve IDN handling
|
||||
if (!LDH_PATTERN.matcher(nameParam.get()).matches()) {
|
||||
throw new BadRequestException(
|
||||
"Name parameter must contain only letters, dots"
|
||||
|
||||
Reference in New Issue
Block a user