tag | 96e3a444c6fb875ee07aa22ee524dfa7d16ef161 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Mar 02 12:22:29 2020 -0800 |
object | 2214b35d09f1bcc529721b777c7650e2817ad95d |
Android 8.1.0 release 74
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)