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 7b3efc2 commit 3f0eae3
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 @@ -322,7 +322,7 @@ private function setCspHeader(): void
$frameAncestorsSet = true;
}

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

0 comments on commit 3f0eae3

Please sign in to comment.