[Editorial] Compare origins with 'same origin', not 'is'. · w3c/webappsec-csp@4e01ae7
mikewest
·
2026-05-05
·
via Recent Commits to webappsec-csp:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -4150,7 +4150,7 @@ Content-Type: application/reports+json
|
4150 | 4150 | 4. If |expression| is an <a>ASCII case-insensitive</a> match for "`'self'`", |
4151 | 4151 | return "`Matches`" if one or more of the following conditions is met: |
4152 | 4152 | |
4153 | | - 1. |origin| is the same as |url|'s <a for="url">origin</a> |
| 4153 | + 1. |origin| and |url|'s [=url/origin=] are [=same origin=] |
4154 | 4154 | |
4155 | 4155 | 2. |origin|'s {{URL/host}} is the same as |url|'s {{URL/host}}, |
4156 | 4156 | |origin|'s {{URL/port}} and |url|'s {{URL/port}} are either the same |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。