commit | 5bf8a2dccf4777c5f065d918d1d9a2bbaa013f9f | [log] [tgz] |
---|---|---|
author | tsergeant <tsergeant@chromium.org> | Thu Apr 16 00:36:17 2015 |
committer | Commit bot <commit-bot@chromium.org> | Thu Apr 16 00:36:41 2015 |
tree | d212a70f309286cd2483c8a997e171efe14fc565 | |
parent | 151364e2372c690bd50a24c89454e3255fe95d40 [diff] |
Truncate long URL fragments in Android page info popup This replaces percent-encoding whitespace as a method to combat the use of crafted URL fragments to inject messages into the page info popup. By truncating the URL so that at most two lines of the fragment are shown, we prevent lengthy messages from being injected while minimising the effect on most URLs. BUG=466351 Review URL: https://codereview.chromium.org/1077483002 Cr-Commit-Position: refs/heads/master@{#325358}