google-nomulus/java/google/registry
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
..
backup Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
batch Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
bigquery Use correct <a> tag syntax in javadoc @see tag 2016-11-02 15:19:34 -04:00
braintree Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
builddefs Change all references to Domain Registry to Nomulus 2016-10-14 16:58:07 -04:00
config Add a custom logic framework to provide pluggable extensibility 2016-11-15 15:19:32 -05:00
cron Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
dns Clean up ConfigModule 2016-11-10 11:19:58 -05:00
eclipse Fix build error by adding testonly=1 to eclipse BUILD file 2016-11-10 12:30:20 -05:00
env Switch TMCH SMDRL fetch job to start at 00:15 and 12:15 2016-11-15 11:02:42 -05:00
export Make driveFolderId on Registry entity optional 2016-11-15 10:38:20 -05:00
flows Fix uncaught LEADING_HYPHEN IllegalArgumentException in host flows 2016-11-16 17:09:45 -05:00
gcs Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
groups Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
idn Rename Java packages to use the .google TLD 2016-05-13 20:04:42 -04:00
keyring/api Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
loadtest Fix double-URL-encoding bug in LoadTestAction 2016-11-02 15:19:34 -04:00
mapreduce Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
model Scope down lastTransferTime to only ContactResource, DomainResource 2016-11-16 17:05:13 -05:00
module Add a custom logic framework to provide pluggable extensibility 2016-11-15 15:19:32 -05:00
monitoring Scope down TransferData to only ContactResource and DomainResource 2016-11-15 13:47:28 -05:00
pricing Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
rdap Switch over to non-ReferenceUnion fields on DomainBase 2016-11-02 15:19:34 -04:00
rde Use correct <a> tag syntax in javadoc @see tag 2016-11-02 15:19:34 -04:00
request Refactor RequestHandler to handle request component construction 2016-11-15 10:49:05 -05:00
security Convert RegistrarServlet to RegistrarAction 2016-11-02 15:19:34 -04:00
storage/drive Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
tldconfig/idn Use correct <a> tag syntax in javadoc @see tag 2016-11-02 15:19:34 -04:00
tmch Use correct <a> tag syntax in javadoc @see tag 2016-11-02 15:19:34 -04:00
tools Reload resources before saving in ReloadAllEppResourcesAction 2016-11-15 10:59:47 -05:00
ui Don't throw an exception on orphaned contacts 2016-11-10 11:27:32 -05:00
util Add a custom logic framework to provide pluggable extensibility 2016-11-15 15:19:32 -05:00
whois Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
xjc Make essential Bazel packages publicly visible 2016-10-24 11:57:00 -04:00
xml Use correct <a> tag syntax in javadoc @see tag 2016-11-02 15:19:34 -04:00
BUILD Fix Bazel visibility rules 2016-10-24 11:57:00 -04:00
repositories.bzl Revert change to Guava 20 until we get it working properly 2016-11-02 15:19:34 -04:00