Page 1 of 1

Dokuwiki integration CSP errors after upgrade

Posted: 14 Nov 2017, 16:01
by TomR
Dokuwiki integration gives all kind of CSP errors after upgrade 1.2.20 -> 2.x

Upgrading from 1.2.20 to version 2.x leads to a lot of CSP errors when opening wiki pages with wiki integration from MantisBT

Re: Dokuwiki integration CSP errors after upgrade

Posted: 15 Nov 2017, 12:33
by TomR
https://www.mantisbt.org/bugs/view.php?id=19576 seems to solve the problem,
But that effectively disables CSP al together which seems a bit drastic.

In config_inc.php

Code: Select all

$g_custom_headers = array( 'Content-Security-Policy:' );

Re: Dokuwiki integration CSP errors after upgrade

Posted: 16 Nov 2017, 09:34
by atrol
Also to follow up for other users https://www.mantisbt.org/bugs/view.php?id=23635