Commit 41183a7
[Backport] CVE-2024-9966: Inappropriate implementation in Navigations
Cherry-pick of patch originally reviewed on
https://chromium-review.googlesource.com/c/chromium/src/+/5860536:
Don't store PolicyContainerPolicies of error pages in history
We should never reload the policies of an error page from history,
since that might end up taking precedence over stricter policies
inherited from the parent/initiator.
Bug: 364773822
Change-Id: I903dd11d8f7e771e1f8bc9dc640690da92d61177
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5860536
Reviewed-by: Charlie Reis <creis@chromium.org>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1355730}
Reviewed-on: https://codereview.qt-project.org/c/qt/qtwebengine-chromium/+/597928
Reviewed-by: Michal Klocek <michal.klocek@qt.io>1 parent 20c9c03 commit 41183a7
File tree
2 files changed
+10
-0
lines changed- chromium/content/browser/renderer_host
2 files changed
+10
-0
lines changedLines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1826 | 1826 | | |
1827 | 1827 | | |
1828 | 1828 | | |
| 1829 | + | |
1829 | 1830 | | |
1830 | 1831 | | |
1831 | 1832 | | |
| |||
2288 | 2289 | | |
2289 | 2290 | | |
2290 | 2291 | | |
| 2292 | + | |
2291 | 2293 | | |
2292 | 2294 | | |
2293 | 2295 | | |
| |||
4474 | 4476 | | |
4475 | 4477 | | |
4476 | 4478 | | |
| 4479 | + | |
4477 | 4480 | | |
| 4481 | + | |
| 4482 | + | |
| 4483 | + | |
| 4484 | + | |
| 4485 | + | |
| 4486 | + | |
4478 | 4487 | | |
4479 | 4488 | | |
4480 | 4489 | | |
| |||
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
835 | 835 | | |
836 | 836 | | |
837 | 837 | | |
| 838 | + | |
838 | 839 | | |
839 | 840 | | |
840 | 841 | | |
| |||
0 commit comments