File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -76,12 +76,6 @@ public function onAfterInitialise()
7676 // Set the default header when they are enabled
7777 $ this ->setStaticHeaders ();
7878
79- // CSP is only relevant on html pages. Let's early exit here.
80- if (Factory::getDocument ()->getType () != 'html ' )
81- {
82- return ;
83- }
84-
8579 // Handle CSP Header configuration
8680 $ cspOptions = (int ) $ this ->params ->get ('contentsecuritypolicy ' , 0 );
8781
Original file line number Diff line number Diff line change 55 <author >Tobias Zulauf</author >
66 <copyright >(C) 2017 - 2019 Tobias Zulauf All rights reserved.</copyright >
77 <authorUrl >https://www.jah-tz.de</authorUrl >
8- <version >1.0.9 </version >
8+ <version >1.0.10 </version >
99 <license >GNU/GPL Version 2 or later</license >
1010 <description >PLG_SYSTEM_HTTPHEADER_XML_DESCRIPTION</description >
1111 <scriptfile >script.php</scriptfile >
You can’t perform that action at this time.
0 commit comments