Skip to content

Commit

Permalink
Update plugins/system/httpheaders/httpheaders.php
Browse files Browse the repository at this point in the history
Co-Authored-By: Quy <quy@fluxbb.org>
  • Loading branch information
zero-24 and Quy committed Apr 19, 2020
1 parent 3f0eae3 commit 9bc348f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/system/httpheaders/httpheaders.php
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ private function compileAutomaticCspHeaderRules(): array
$cspHeaderValue = '{style-hashes} ' . $cspHeaderValue;
}

// Add strict-dynamic to the script-src directive when enabeld
// Add strict-dynamic to the script-src directive when enabled
if ($cspHeaderkey === 'script-src'
&& strpos($cspHeaderValue, 'strict-dynamic') === 0
&& $scriptDynamicEnabled)
Expand Down

0 comments on commit 9bc348f

Please sign in to comment.