From 4900ce302b27e7258e91a44d9a68544f5254153b Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Wed, 24 Feb 2021 16:55:13 +0900 Subject: [PATCH 1/2] =?UTF-8?q?Push=20the=20=E2=80=9Cfixable=20flaws?= =?UTF-8?q?=E2=80=9D=20button?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../plugin-types/index.html | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html b/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html index 35c9f5775308cc7..b6fa33fcace64f6 100644 --- a/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html +++ b/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html @@ -2,15 +2,15 @@ title: 'CSP: plugin-types' slug: Web/HTTP/Headers/Content-Security-Policy/plugin-types tags: -- CSP -- Content-Security-Policy -- Directive -- Flash -- HTTP -- Java -- Plugin -- Plugins -- Security + - CSP + - Content-Security-Policy + - Directive + - Flash + - HTTP + - Java + - Plugin + - Plugins + - Security ---
{{HTTPSidebar}}
@@ -58,7 +58,7 @@

Syntax

<type>/<subtype>
A valid MIME + href="/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types">MIME type.
From f14ca9c650086ff7e0d0639f4b3f980946ec0e39 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Wed, 24 Feb 2021 16:55:47 +0900 Subject: [PATCH 2/2] Drop CSP plugin-types spec reference & deprecate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/w3c/webappsec-csp/issues/394 completely removed the plugin-types directive from the CSP spec. So it’s now deprecated and no longer part of any current spec. --- .../content-security-policy/plugin-types/index.html | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html b/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html index b6fa33fcace64f6..c8e9f4e3ba184c7 100644 --- a/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html +++ b/files/en-us/web/http/headers/content-security-policy/plugin-types/index.html @@ -12,7 +12,7 @@ - Plugins - Security --- -
{{HTTPSidebar}}
+
{{HTTPSidebar}}{{deprecated_header}}

The HTTP {{HTTPHeader("Content-Security-Policy")}} (CSP) plugin-types directive restricts the set of plugins that @@ -104,11 +104,6 @@

Specifications

- - {{specName("CSP 3.0", "#directive-plugin-types", "plugin-types")}} - {{Spec2('CSP 3.0')}} - No changes. - {{specName("CSP 1.1", "#directive-plugin-types", "plugin-types")}} {{Spec2('CSP 1.1')}}