google-nomulus/java
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
..
com/google Preserve test logs and test summary output for Kokoro CI runs 2016-10-14 16:57:43 -04:00
google/registry Fix uncaught LEADING_HYPHEN IllegalArgumentException in host flows 2016-11-16 17:09:45 -05:00