commit | c129556ccce3c2aac4d37ef08390751c9025f633 | [log] [tgz] |
---|---|---|
author | Pete Bentley <prb@google.com> | Mon Jul 09 11:42:50 2018 +0100 |
committer | JP Sugarbroad <jpsugar@google.com> | Wed Aug 01 17:33:51 2018 -0700 |
tree | 75eff8b88a6714e0f59b8654142b2cab3116ea19 | |
parent | 5c2be05f23f66028ccebfd7de64a3673fee6e509 [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)