mirror of
https://github.com/google/nomulus
synced 2026-01-07 22:15:30 +00:00
RDAP: Remove port43 element from JSON output
According to Gustavo Lozano of ICANN: "In the case of the RDAP profile (gTLD space), the “port43” element is not expected to be used, because Whois/43 tcp will be deprecated in the future." So it sounds like we should not include the port43 element for the moment. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=130017966
This commit is contained in:
@@ -43,6 +43,7 @@ import google.registry.request.Response;
|
||||
import google.registry.util.FormattingLogger;
|
||||
import java.net.URI;
|
||||
import java.net.URISyntaxException;
|
||||
import javax.annotation.Nullable;
|
||||
import javax.inject.Inject;
|
||||
import org.json.simple.JSONValue;
|
||||
|
||||
@@ -68,7 +69,7 @@ public abstract class RdapActionBase implements Runnable {
|
||||
@Inject @RequestMethod Action.Method requestMethod;
|
||||
@Inject @RequestPath String requestPath;
|
||||
@Inject @Config("rdapLinkBase") String rdapLinkBase;
|
||||
@Inject @Config("rdapWhoisServer") String rdapWhoisServer;
|
||||
@Inject @Config("rdapWhoisServer") @Nullable String rdapWhoisServer;
|
||||
|
||||
/** Returns a string like "domain name" or "nameserver", used for error strings. */
|
||||
abstract String getHumanReadableObjectTypeName();
|
||||
|
||||
Reference in New Issue
Block a user