From 8947dd80d9c483e3deffd2a08e8d2b27e7784ce2 Mon Sep 17 00:00:00 2001 From: Mike Fiedler Date: Wed, 11 Sep 2024 09:19:16 -0400 Subject: [PATCH] chore: remove obsolete csp header (#16664) --- tests/unit/test_csp.py | 1 - warehouse/csp.py | 1 - 2 files changed, 2 deletions(-) diff --git a/tests/unit/test_csp.py b/tests/unit/test_csp.py index 8153bdd436df..157a7733ab4a 100644 --- a/tests/unit/test_csp.py +++ b/tests/unit/test_csp.py @@ -245,7 +245,6 @@ def test_includeme(): { "csp": { "base-uri": ["'self'"], - "block-all-mixed-content": [], "connect-src": [ "'self'", "https://api.github.com/repos/", diff --git a/warehouse/csp.py b/warehouse/csp.py index bddd46add1aa..5ee9cf303230 100644 --- a/warehouse/csp.py +++ b/warehouse/csp.py @@ -165,7 +165,6 @@ def includeme(config): { "csp": { "base-uri": [SELF], - "block-all-mixed-content": [], "connect-src": _connect_src_settings(config), "default-src": [NONE], "font-src": [SELF, "fonts.gstatic.com"],