Skip to content

Commit

Permalink
Fix wrong references to parse a serialized CSP list (#691)
Browse files Browse the repository at this point in the history
  • Loading branch information
antosart authored Nov 22, 2024
1 parent b33a9a2 commit a2c0141
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/auto-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
jobs:
main:
name: Build, Validate, and Publish
runs-on: ubuntu-20.04
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v2
- uses: w3c/spec-prod@v2
Expand Down
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,7 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/
`Content-Security-Policy` and |response|'s [=response/header list=]:

1. Let |policy| be the result of
<a abstract-op lt="parse a serialized CSP list">parsing</a> |token|, with a
<a abstract-op lt="parse a serialized CSP">parsing</a> |token|, with a
[=policy/source=] of "`header`", and a [=policy/disposition=] of "`enforce`".

2. If |policy|'s [=policy/directive set=] is not empty, append |policy| to |policies|.
Expand All @@ -545,7 +545,7 @@ spec: WebRTC; urlPrefix: https://www.w3.org/TR/webrtc/
`Content-Security-Policy-Report-Only` and |response|'s [=response/header list=]:

1. Let |policy| be the result of
<a abstract-op lt="parse a serialized CSP list">parsing</a> |token|, with a
<a abstract-op lt="parse a serialized CSP">parsing</a> |token|, with a
[=policy/source=] of "`header`", and a [=policy/disposition=] of "`report`".

2. If |policy|'s [=policy/directive set=] is not empty, append |policy| to |policies|.
Expand Down

0 comments on commit a2c0141

Please sign in to comment.