I have a newly setup dokuwiki version 2014-05-05, running on a Ubuntu 14.04 apache2.4 server, with HTTPS enforced. However when I want to edit a page, some of the toolbar buttons are missing (showing up until the Header level buttons). When I check the Chrome JS console, the following errors were found:
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
doku.php:6
Refused to execute inline script because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-eval'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
doku.php:17
Uncaught ReferenceError: JSINFO is not defined
It seems the generation of the toolbar buttons was blocked by the Content Security Policy. Does anyone know how I can solve this issue? Any help is appreciated, thanks!