commit | 0cc506e1553eebe540ca9399c5b35863575219db | [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 Sep 14 20:46:11 2018 +0000 |
tree | 04a496bb282eec756f3d563a2583cff07564e4d5 | |
parent | 34f728b7cbe0e092d927ac52548f17251f261452 [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)