google-nomulus/java/google/registry/flows/host
mcilwain 16c53c6996 Fix uncaught LEADING_HYPHEN IllegalArgumentException in host flows
This should have been getting turned into an InvalidHostNameException, but
wasn't. I've added tests for HostFlowUtils verifying the correct behavior for
this. Idn.toASCII() can throw IllegalArgumentException for some combinations
of input, including hostnames with a leading hyphen, so the call should be
inside the try block that turns IAEs into InvalidHostNameExceptions.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=139373849
2016-11-16 17:09:45 -05:00
..
HostCheckFlow.java Turn Flow into an interface and inject all its fields 2016-11-02 15:19:34 -04:00
HostCreateFlow.java Make host flows only accept canonicalized host names as input 2016-11-10 11:29:03 -05:00
HostDeleteFlow.java Make host flows only accept canonicalized host names as input 2016-11-10 11:29:03 -05:00
HostFlowUtils.java Fix uncaught LEADING_HYPHEN IllegalArgumentException in host flows 2016-11-16 17:09:45 -05:00
HostInfoFlow.java Make host flows only accept canonicalized host names as input 2016-11-10 11:29:03 -05:00
HostUpdateFlow.java Make host flows only accept canonicalized host names as input 2016-11-10 11:29:03 -05:00