Ticket #2053 (closed defect: duplicate)
mixed content with dcCKEditor
Reported by: | theYinYeti | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | module:core | Version: | 2.7.2 |
Severity: | critical | Keywords: | CKEditor mixed content |
Cc: |
Description
Hi, my dotclear is served on HTTP by Nginx / php-fpm. However, it is behind an SSL proxy, and when php-fpm is called, these settings are correctly set:
fastcgi_param HTTPS "on"; fastcgi_param SERVER_PORT "443";
I tried using the new CKEditor for writing a new post, but I get these errors in Firefox’ console:
Blocked loading mixed active content "http://server.tld/dc/admin/index.php?pf=dcCKEditor/js/ckeditor/config.js" index.php:237 Blocked loading mixed active content "http://server.tld/dc/admin/index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/skin.js" index.php:237 Blocked loading mixed active content "http://server.tld/dc/admin/index.php?pf=dcCKEditor/js/ckeditor-skins/dotclear/editor_gecko.css" index.php:237 Blocked loading mixed active content "http://server.tld/dc/admin/index.php?pf=dcCKEditor/js/ckeditor/lang/fr.js" index.php:237
And the locations where the text input normally happens just remains blank.
The browser blocks HTTP contents for an HTTPS page, which is normal. Such errors already happened in the past (for example on logout from the admin pages), but have been fixed since then. The same fix will probably work here.
Bug seen in 2.7.2 and 2.7.3. I rate the bug as critical since the upgrade to 2.7.2 seems to set CKEditor as the default, and it is not obvious what the problem is, or that the editor can be changed back to something working (legacy) in “my preferences”. At first, I thought that the absence of text fields was a new feature, and that they would appear after I had set a title and saved… which of course did not work.
Duplucate of #2052