From d5dd4d35414ea7bc78d6871425933777ada9e4bc Mon Sep 17 00:00:00 2001 From: wbamberg Date: Wed, 2 Oct 2024 11:44:46 -0700 Subject: [PATCH] Give a clue about what source expressions are like --- .../web/http/headers/content-security-policy/base-uri/index.md | 2 +- .../web/http/headers/content-security-policy/child-src/index.md | 2 +- .../http/headers/content-security-policy/connect-src/index.md | 2 +- .../http/headers/content-security-policy/default-src/index.md | 2 +- .../web/http/headers/content-security-policy/font-src/index.md | 2 +- .../http/headers/content-security-policy/form-action/index.md | 2 +- .../web/http/headers/content-security-policy/frame-src/index.md | 2 +- .../web/http/headers/content-security-policy/img-src/index.md | 2 +- .../http/headers/content-security-policy/manifest-src/index.md | 2 +- .../web/http/headers/content-security-policy/media-src/index.md | 2 +- .../http/headers/content-security-policy/object-src/index.md | 2 +- .../http/headers/content-security-policy/prefetch-src/index.md | 2 +- .../headers/content-security-policy/script-src-attr/index.md | 2 +- .../headers/content-security-policy/script-src-elem/index.md | 2 +- .../http/headers/content-security-policy/script-src/index.md | 2 +- .../headers/content-security-policy/style-src-attr/index.md | 2 +- .../headers/content-security-policy/style-src-elem/index.md | 2 +- .../web/http/headers/content-security-policy/style-src/index.md | 2 +- .../http/headers/content-security-policy/worker-src/index.md | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/files/en-us/web/http/headers/content-security-policy/base-uri/index.md b/files/en-us/web/http/headers/content-security-policy/base-uri/index.md index bdd7abd71b6eca8..4ed60863edfd126 100644 --- a/files/en-us/web/http/headers/content-security-policy/base-uri/index.md +++ b/files/en-us/web/http/headers/content-security-policy/base-uri/index.md @@ -41,7 +41,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. A `` element may set a base URI if its value matches any of the given source expressions. - 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`: + 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`: - `` - `` diff --git a/files/en-us/web/http/headers/content-security-policy/child-src/index.md b/files/en-us/web/http/headers/content-security-policy/child-src/index.md index ac046bad98a8146..447a5c6640071cc 100644 --- a/files/en-us/web/http/headers/content-security-policy/child-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/child-src/index.md @@ -48,7 +48,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/connect-src/index.md b/files/en-us/web/http/headers/content-security-policy/connect-src/index.md index 04d2a0408038dc5..fee392fdafeb62f 100644 --- a/files/en-us/web/http/headers/content-security-policy/connect-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/connect-src/index.md @@ -56,7 +56,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/default-src/index.md b/files/en-us/web/http/headers/content-security-policy/default-src/index.md index 89e20088b45c002..f5a822e2a4eb593 100644 --- a/files/en-us/web/http/headers/content-security-policy/default-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/default-src/index.md @@ -54,7 +54,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/font-src/index.md b/files/en-us/web/http/headers/content-security-policy/font-src/index.md index f9e3a4204578ef0..9cd7ea7d0e3e208 100644 --- a/files/en-us/web/http/headers/content-security-policy/font-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/font-src/index.md @@ -46,7 +46,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/form-action/index.md b/files/en-us/web/http/headers/content-security-policy/form-action/index.md index 46fd83f56328f9b..053c4024e0398ef 100644 --- a/files/en-us/web/http/headers/content-security-policy/form-action/index.md +++ b/files/en-us/web/http/headers/content-security-policy/form-action/index.md @@ -44,7 +44,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Form submissions may be made to URLs that match any of the given source expressions. - 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`: + 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`: - `` - `` diff --git a/files/en-us/web/http/headers/content-security-policy/frame-src/index.md b/files/en-us/web/http/headers/content-security-policy/frame-src/index.md index 9fdc2fb09fc87bb..1e8fa9b6a800751 100644 --- a/files/en-us/web/http/headers/content-security-policy/frame-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/frame-src/index.md @@ -51,7 +51,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/img-src/index.md b/files/en-us/web/http/headers/content-security-policy/img-src/index.md index 48747be59af919a..42e6437d95ec196 100644 --- a/files/en-us/web/http/headers/content-security-policy/img-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/img-src/index.md @@ -44,7 +44,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/manifest-src/index.md b/files/en-us/web/http/headers/content-security-policy/manifest-src/index.md index 53630b66c4ad36e..72af54796138b92 100644 --- a/files/en-us/web/http/headers/content-security-policy/manifest-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/manifest-src/index.md @@ -47,7 +47,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/media-src/index.md b/files/en-us/web/http/headers/content-security-policy/media-src/index.md index 4a4a653044b0575..0284b6a7572b682 100644 --- a/files/en-us/web/http/headers/content-security-policy/media-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/media-src/index.md @@ -46,7 +46,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/object-src/index.md b/files/en-us/web/http/headers/content-security-policy/object-src/index.md index 352b153352756ca..cde774a2726a58c 100644 --- a/files/en-us/web/http/headers/content-security-policy/object-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/object-src/index.md @@ -53,7 +53,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/prefetch-src/index.md b/files/en-us/web/http/headers/content-security-policy/prefetch-src/index.md index 797972671628c24..4645a99d4682025 100644 --- a/files/en-us/web/http/headers/content-security-policy/prefetch-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/prefetch-src/index.md @@ -49,7 +49,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Example diff --git a/files/en-us/web/http/headers/content-security-policy/script-src-attr/index.md b/files/en-us/web/http/headers/content-security-policy/script-src-attr/index.md index cc121edf4c82181..e4a8022319eda8e 100644 --- a/files/en-us/web/http/headers/content-security-policy/script-src-attr/index.md +++ b/files/en-us/web/http/headers/content-security-policy/script-src-attr/index.md @@ -48,7 +48,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). `script-src-attr` can be used in conjunction with {{CSP("script-src")}}, and will override that directive for checks on inline handlers: diff --git a/files/en-us/web/http/headers/content-security-policy/script-src-elem/index.md b/files/en-us/web/http/headers/content-security-policy/script-src-elem/index.md index e470b788c93e07a..21a411157bb4b08 100644 --- a/files/en-us/web/http/headers/content-security-policy/script-src-elem/index.md +++ b/files/en-us/web/http/headers/content-security-policy/script-src-elem/index.md @@ -48,7 +48,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). `script-src-elem` can be used in conjunction with {{CSP("script-src")}}: diff --git a/files/en-us/web/http/headers/content-security-policy/script-src/index.md b/files/en-us/web/http/headers/content-security-policy/script-src/index.md index 008539bce1dce6a..9a4d1675dba9d91 100644 --- a/files/en-us/web/http/headers/content-security-policy/script-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/script-src/index.md @@ -44,7 +44,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/style-src-attr/index.md b/files/en-us/web/http/headers/content-security-policy/style-src-attr/index.md index a3c9a4d74c5bb32..1aa6165afa0d101 100644 --- a/files/en-us/web/http/headers/content-security-policy/style-src-attr/index.md +++ b/files/en-us/web/http/headers/content-security-policy/style-src-attr/index.md @@ -49,7 +49,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). `style-src-attr` can be used in conjunction with {{CSP("style-src")}}: diff --git a/files/en-us/web/http/headers/content-security-policy/style-src-elem/index.md b/files/en-us/web/http/headers/content-security-policy/style-src-elem/index.md index cb62d937d765f46..0538d75a361b782 100644 --- a/files/en-us/web/http/headers/content-security-policy/style-src-elem/index.md +++ b/files/en-us/web/http/headers/content-security-policy/style-src-elem/index.md @@ -48,7 +48,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). `style-src-elem` can be used in conjunction with {{CSP("style-src")}}: diff --git a/files/en-us/web/http/headers/content-security-policy/style-src/index.md b/files/en-us/web/http/headers/content-security-policy/style-src/index.md index 5b206952b69078e..d044c4b58e27cb6 100644 --- a/files/en-us/web/http/headers/content-security-policy/style-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/style-src/index.md @@ -44,7 +44,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples diff --git a/files/en-us/web/http/headers/content-security-policy/worker-src/index.md b/files/en-us/web/http/headers/content-security-policy/worker-src/index.md index 031a87ce137daf6..df3aa70b3cd0451 100644 --- a/files/en-us/web/http/headers/content-security-policy/worker-src/index.md +++ b/files/en-us/web/http/headers/content-security-policy/worker-src/index.md @@ -52,7 +52,7 @@ This directive may have one of the following values: - : A space-separated list of _source expression_ values. Resources of this type may be loaded if they match any of the given source expressions. - The syntax for each source expression is given in [CSP Source Values](/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/Sources). + 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). ## Examples