tag | 04ab2222e5131560da7e4d0b0609059217ac95d7 | |
---|---|---|
tagger | The Android Open Source Project <initial-contribution@android.com> | Thu Feb 02 14:50:58 2017 -0800 |
object | dae6afd225af53a133872001f098a5e6e2bc729b |
Android 7.1.1 Release 15 (N4F26Q)
commit | dae6afd225af53a133872001f098a5e6e2bc729b | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Wed Oct 19 15:46:47 2016 +0100 |
committer | gitbuildkicker <android-build@google.com> | Wed Dec 14 16:53:14 2016 -0800 |
tree | 3f0ed885bc1e89d213f9f20631432428ad4905ec | |
parent | 3c8471a841747a76d2db00283588bd9bb8508bd2 [diff] |
Fix URL parser may return wrong host name Due to a missing bound check in parseURL, it may include part of the fragment in the authority field, and returns wrong host name. Bug: 31858037 Test: libcore.java.net.URLTest#testFragmentWith{Slash,Query} Change-Id: I1fc39907cc67f6d674a3790070833123fdef9414 (cherry picked from commit 78a4344540081fd229b188504d2fee820b7d452a) (cherry picked from commit f98287d57549ccaae7b6e8dec9feadd4e0d413c3)