EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
CSP form-action self
Yuri Kuznetsov84f7fc562c0e
diff --git a/application/Espo/Core/Utils/ClientManager.php b/application/Espo/Core/Utils/ClientManager.phpindex 48a576b5d9..f59d9fa272 100644--- a/application/Espo/Core/Utils/ClientManager.php+++ b/application/Espo/Core/Utils/ClientManager.php@@ -112,6 +112,10 @@ class ClientManager$string .= ' ' . $src;}+ if (!$this->config->get('clientCspFormActionDisabled')) {+ $string .= "; form-action 'self'";+ }+// Checking the parameter for bc.if (!$this->config->get('clientXFrameOptionsHeaderDisabled')) {$string .= '; frame-ancestors';