DescriptionCSP: Prevent form-action to leak path on redirect.
The optional argument |redirectStatus| was forgotten.
When a request is redirected, the Content-Security-Policy mustn't
block a request depending on the path of the url, else an evil script
could deduce the path the user gets redirected to.
Test added to prevent further regression.
BUG=701347
Review-Url: https://codereview.chromium.org/2749863002
Cr-Commit-Position: refs/heads/master@{#457060}
Committed: https://chromium.googlesource.com/chromium/src/+/5c7a83e9da26f8621d4b17196c22c75fb1dca45f
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|