seems webspellchecker in CKEditor uses now https, need to allow that instead of http in CSP policy

This commit is contained in:
Ralf Becker 2014-05-08 16:46:59 +00:00
parent c886f46122
commit 927b6eacb3

View File

@ -415,7 +415,7 @@ class egw_ckeditor_config
// if webspellchecker is enabled in EGroupware config, allow access to it's url // if webspellchecker is enabled in EGroupware config, allow access to it's url
if (in_array($GLOBALS['egw_info']['server']['enabled_spellcheck'], array('True', 'YesUseWebSpellCheck'))) if (in_array($GLOBALS['egw_info']['server']['enabled_spellcheck'], array('True', 'YesUseWebSpellCheck')))
{ {
$attrs[] = 'http://svc.webspellchecker.net'; $attrs[] = 'https://svc.webspellchecker.net';
} }
//error_log(__METHOD__."() egw_info[server][enabled_spellcheck]='{$GLOBALS['egw_info']['server']['enabled_spellcheck']}' --> attrs=".array2string($attrs)); //error_log(__METHOD__."() egw_info[server][enabled_spellcheck]='{$GLOBALS['egw_info']['server']['enabled_spellcheck']}' --> attrs=".array2string($attrs));
// tell framework CK Editor needs eval and inline javascript :( // tell framework CK Editor needs eval and inline javascript :(