Skip to content

Commit

Permalink
Delete old source values doc; update links
Browse files Browse the repository at this point in the history
  • Loading branch information
wbamberg committed Nov 15, 2024
1 parent e4ee4d0 commit d5132f2
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 115 deletions.
1 change: 1 addition & 0 deletions files/en-us/_redirects.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12297,6 +12297,7 @@
/en-US/docs/Web/HTTP/Gecko_user_agent_string_reference /en-US/docs/Web/HTTP/Headers/User-Agent/Firefox
/en-US/docs/Web/HTTP/HTTP_response_codes /en-US/docs/Web/HTTP/Status
/en-US/docs/Web/HTTP/Headers/Cache-Disposition /en-US/docs/Web/HTTP/Headers/Content-Disposition
/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources /en-US/docs/Web/HTTP/Headers/Content-Security-Policy#source_expression_syntax
/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/navigate-to /en-US/docs/Web/HTTP/Headers/Content-Security-Policy
/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/referrer /en-US/docs/Web/HTTP/Headers/Referrer-Policy
/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/require-sri-for /en-US/docs/Web/HTTP/Headers/Content-Security-Policy
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ In Manifest V2, a source for a script directive is considered secure if it meets
- Remote sources must not use wildcards for any domains in the [public suffix list](https://publicsuffix.org/list/) (so `*.co.uk` and `*.blogspot.com` are not allowed, although `*.foo.blogspot.com` is permitted).
- All sources must specify a host.
- The only permitted schemes for sources are `blob:`, `filesystem:`, `moz-extension:`, `https:`, and `wss:`.
- The only permitted [keywords](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources#sources) are: `'none'`, `'self'`, `'unsafe-eval'`, and `'wasm-unsafe-eval'`.
- The only permitted [keywords](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#source_expression_syntax) are: `'none'`, `'self'`, `'unsafe-eval'`, and `'wasm-unsafe-eval'`.

## object-src directive

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,11 @@ This directive may have one of the following values:
- : No base URI may be set using a `<base>` element. The single quotes are mandatory.
- `<source-expression-list>`

- : A space-separated list of _source expression_ values. A `<base>` element may set a base URI if its value matches any of the given source expressions.
- : A space-separated list of _source expression_ values. A `<base>` element may set a base URI if its value matches any of the given source expressions. For this directive, the following source expression values are applicable:

Source expressions are specified as keyword values or URL patterns: the syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). However, only the following subset of those values apply to `base-uri`:

- `<host-source>`
- `<scheme-source>`
- the keyword value `'self'`.
- [`<host-source>`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#host-source)
- [`<scheme-source>`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#scheme-source)
- [`'self'`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#self)

## Examples

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,11 @@ This directive may have one of the following values:
- : No form submissions may be made. The single quotes are mandatory.
- `<source-expression-list>`

- : A space-separated list of _source expression_ values. Form submissions may be made to URLs that match any of the given source expressions.
- : A space-separated list of _source expression_ values. Form submissions may be made to URLs that match any of the given source expressions. For this directive, the following source expression values are applicable:

Source expressions are specified as keyword values or URL patterns: the syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). However, only the following subset of those values apply to `form-action`:

- `<host-source>`
- `<scheme-source>`
- the keyword value `'self'`.
- [`<host-source>`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#host-source)
- [`<scheme-source>`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#scheme-source)
- [`'self'`](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy#self)

## Examples

Expand Down
102 changes: 0 additions & 102 deletions files/en-us/web/http/headers/content-security-policy/sources/index.md

This file was deleted.

0 comments on commit d5132f2

Please sign in to comment.