tag | 006ff965216e9a83be58fc167c686b69b24ddd39 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Mon Feb 03 14:41:05 2020 -0800 |
object | fe945a584651dea044176ef12d28732c00c61cbd |
Android 8.0.0 Release 43 (6107732)
commit | fe945a584651dea044176ef12d28732c00c61cbd | [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:33:00 2018 -0700 |
tree | cc24f8da781531a8fab274c5893e389af7671788 | |
parent | 860b9d6c401ac7be0ec5f777b212d2716b763097 [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)