commit | 93ce5606cd9a9597993ba70670b4092ab6722281 | [log] [tgz] |
---|---|---|
author | Antonio Sartori <antoniosartori@chromium.org> | Wed Nov 18 09:33:55 2020 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Nov 18 09:33:55 2020 |
tree | ce531aaa5897b866a26e586748a9becf4638801e | |
parent | e0a84eabba34121329151649121bcf4531860d03 [diff] |
Strip url to origin in X-Frame-Options violation messages X-Frame-Options violations are logged via a console message in the parent frame. To avoid leaking sensitive data to the parent frame, let's report as "blocked url" just the origin of the blocked frame's url, as we are already doing for the frame-ancestors CSP directive. Bug: 1146651 Change-Id: If5e5ac62f7e44e714b109e6adc389f11999e0f8b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2534851 Commit-Queue: Antonio Sartori <antoniosartori@chromium.org> Reviewed-by: Charlie Reis <creis@chromium.org> Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org> Cr-Commit-Position: refs/heads/master@{#828651}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.