Removes fixed TODO

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=117278234
This commit is contained in:
cgoldfeder 2016-03-15 14:25:38 -07:00 committed by Justine Tunney
parent 847dac792a
commit cd13aa8a96
2 changed files with 0 additions and 2 deletions

View file

@ -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());

View file

@ -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"