diff options
| author | Jesse Wilson <jessewilson@google.com> | 2011-07-24 16:39:27 -0700 |
|---|---|---|
| committer | Jesse Wilson <jessewilson@google.com> | 2011-07-24 16:39:27 -0700 |
| commit | 98c564c72480313ae2954a7f0b666ff94345a2f1 (patch) | |
| tree | 89c912f265b3994e02641ce4c929d5a2ba1ddebd /annotations/generate_annotated_java_files.py | |
| parent | b1f55cb6f95928be969a8fe5c7447e13f14d0a68 (diff) | |
Only permit square brackets on IPv6 addresses.
We were failing two tests in URLTest because we were accepting
IPv4 addresses and host names.
Note that in the RI, URL is extremely lenient on validating the
characters in the parts of a URL. It permits any character in any
part except for the delimiter characters like '/' or ':'. The
lax IPv6 check 'does it contain a colon?' is consistent with the
RI.
Change-Id: I957f2ee610b72cf68a7773b4c02a4b6d5fcbb9de
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions
