From 854b7789452ca71a93b93461ed5eb567ff2a6753 Mon Sep 17 00:00:00 2001 From: Hadi Nategh Date: Mon, 13 Oct 2014 14:32:30 +0000 Subject: [PATCH] Fix a missing space in connect-src line of CSP --- phpgwapi/inc/class.egw_framework.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/phpgwapi/inc/class.egw_framework.inc.php b/phpgwapi/inc/class.egw_framework.inc.php index 3f2fedd722..e812ed3a67 100644 --- a/phpgwapi/inc/class.egw_framework.inc.php +++ b/phpgwapi/inc/class.egw_framework.inc.php @@ -211,7 +211,7 @@ abstract class egw_framework if (($additional = $this->_get_csp_frame_src())) $frame_src = array_unique(array_merge($frame_src, $additional)); $csp = "script-src 'self' ".self::csp_script_src_attrs(). - "; connect-src 'self'".self::csp_connect_src_attrs(). + "; connect-src 'self' ".self::csp_connect_src_attrs(). "; style-src 'self' ".self::csp_style_src_attrs(). "; frame-src ".implode(' ', $frame_src);