DescriptionSkip self-referential frame checks for POST requests.
The improved self-referential frame blocking in r450728 broke sites
that rely on constructing frame hierarchies where frames are loaded
via POSTs with the same URLs. To fix this, skip POST requests in
self-referential URL checks.
Note that this only checks whether the current request is a POST, not
whether the ancestor frames were also loaded via POSTs. The only case
where the latter would matter is if we've got two ancestors frames at
a same URL, with one or both of them loaded via POST, and the current
frame is loading that same URL via GET, which seems very unlikely to
happen in practice.
BUG=710008
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation
Review-Url: https://codereview.chromium.org/2814413003
Cr-Commit-Position: refs/heads/master@{#464556}
Committed: https://chromium.googlesource.com/chromium/src/+/e49d7dfd68361fcdd6b83bb696fc475276afae8f
Patch Set 1 #
Messages
Total messages: 17 (12 generated)
|