commit | 603f60216723e977e0e395171ef3d50d586ad033 | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Mon Jul 09 11:42:50 2018 +0100 |
committer | android-build-team Robot <android-build-team-robot@google.com> | Fri Aug 10 20:28:59 2018 +0000 |
tree | e3c45210fd48dfbab50fe4c0576ad1216de1aab0 | |
parent | 90c4bb17b2352e5f7214bd67e1e24f30236d0651 [diff] |
Fix hostname parsing in java.net.URLStreamHandler. As per https://url.spec.whatwg.org/#host-state, any of the characters '/', '\', '#' or '?' should be treated as terminators when parsing the host part of a URL. Change-Id: I1dc8db7101fdd863b51408b9cfb3ef7a585f1c04 Tested: Ran CtsLibcoreTestCases Bug: 110955991 (cherry picked from commit 512b127b593c9bdfbd92e2744495d9e17be9b4f3)