tag | e4dad79b482d9406def50aecfdf43c1e4777a242 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Fri Oct 04 16:06:31 2019 -0700 |
object | 2214b35d09f1bcc529721b777c7650e2817ad95d |
Android 8.1.0 Release 69 (5794017)
commit | 2214b35d09f1bcc529721b777c7650e2817ad95d | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Mon Jul 09 11:42:50 2018 +0100 |
committer | mspector <mspector@google.com> | Thu Jul 19 01:32:54 2018 -0700 |
tree | f4afd970e7f6e210262d7fc6f1d51ce4cc1001bd | |
parent | 51a02601436ef9736aeed808806acb59c8634a88 [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)