commit | 3f24a1d94a42762c245a32272c797250a804cfc3 | [log] [tgz] |
---|---|---|
author | Alex Klyubin <klyubin@google.com> | Wed Apr 01 10:59:29 2015 -0700 |
committer | Alex Klyubin <klyubin@google.com> | Wed Apr 01 13:09:22 2015 -0700 |
tree | 7ece6f888ca034f225ef54513edc13c3f7200935 | |
parent | c461452eb78867032092b2fce14c2fcb3e7ab34e [diff] |
Cleanse HTTP, HTTPS, and FTP URLs in Uri.toSafeString. This makes the hidden API android.net.Uri.toSafeString omit most parts of HTTP, HTTPS, and FTP URLs to avoid leaking anything unsafe. Only the host and port are retained for these URLs. Bug: 19215516 Change-Id: I2e9e33d9afaa9de5dd07a40532d56f0a2179f62a