Invert the CSP header setting and put it in its own Website Mode settings group. Make the CSP header mandatory for share/receive modes, optional for website mode only.

This commit is contained in:
Miguel Jacq 2019-09-22 16:49:31 +10:00
parent 17063e54db
commit d8c0bc4e4f
No known key found for this signature in database
GPG key ID: EEA4341C6D97A0B6
8 changed files with 49 additions and 34 deletions

View file

@ -8,7 +8,7 @@ class LocalWebsiteModeCSPEnabledTest(unittest.TestCase, GuiWebsiteTest):
@classmethod
def setUpClass(cls):
test_settings = {
"csp_header_enabled": True,
"csp_header_disabled": False,
}
cls.gui = GuiWebsiteTest.set_up(test_settings)