mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
Up to now, our search wildcard rules have been that there must be an initial string of at least two characters. If a wildcard is present after that, it can optionally be followed by a suffix specifying the TLD (for domains) or domain (for nameservers). So domain queries can look like: example.tld ex* ex*.tld and nameserver queries can look like: ns1.example.tld ns*.example.tld ns* But you can't do a domain query for *.tld, nor a nameserver query for *.example.tld. It would be nice to support such queries, and the presence of a valid TLD or domain makes them relatively efficient. This CL relaxes the restrictions to allow wildcards with no initial string if the suffix is present. For nameservers, the suffix must be a valid domain in the system, to avoid having to loop through all nameservers. A side effect of the changes is to fix a shortcoming in the logic which caused wildcard nameserver searches to fail if the specified domain suffix referred to an external domain. Entity searches are not affected, since they do not support suffixes. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=159856563 |
||
---|---|---|
.. | ||
testdata | ||
BUILD | ||
RdapActionBaseTest.java | ||
RdapDomainActionTest.java | ||
RdapDomainSearchActionTest.java | ||
RdapEntityActionTest.java | ||
RdapEntitySearchActionTest.java | ||
RdapHelpActionTest.java | ||
RdapJsonFormatterTest.java | ||
RdapNameserverActionTest.java | ||
RdapNameserverSearchActionTest.java | ||
RdapSearchPatternTest.java | ||
RdapTestHelper.java |