mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-25 00:44:03 -04:00
feat: Enable Content Security Policy (CSP)
- Enable $CSPEnabled = true in app/Config/App.php - CSP directives already configured in ContentSecurityPolicy.php - Includes support for CSP 3 keywords and directives Closes #4488
This commit is contained in:
@@ -278,7 +278,7 @@ class App extends BaseConfig
|
||||
* @see http://www.html5rocks.com/en/tutorials/security/content-security-policy/
|
||||
* @see http://www.w3.org/TR/CSP/
|
||||
*/
|
||||
public bool $CSPEnabled = false;
|
||||
public bool $CSPEnabled = true;
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user