DescriptionTruncate 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
Committed: https://crrev.com/5bf8a2dccf4777c5f065d918d1d9a2bbaa013f9f
Cr-Commit-Position: refs/heads/master@{#325358}
Patch Set 1 #Patch Set 2 : Remove test #Patch Set 3 : Formatting #
Total comments: 2
Patch Set 4 : Handle URLs with no origin truncation #
Total comments: 2
Patch Set 5 : Actually handle URLs with no origin truncation #
Messages
Total messages: 13 (3 generated)
|