mirror of
https://github.com/google/nomulus.git
synced 2025-05-02 04:57:51 +02:00
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 |
||
---|---|---|
.. | ||
com/google | ||
google/registry |