Dokuwiki integration CSP errors after upgrade

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
TomR
Posts: 55
Joined: 01 Aug 2006, 10:22

Dokuwiki integration CSP errors after upgrade

Post 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
Attachments
Developer Tools
Developer Tools
CSP-Dokuwiki.png (75.39 KiB) Viewed 3665 times
TomR
Posts: 55
Joined: 01 Aug 2006, 10:22

Re: Dokuwiki integration CSP errors after upgrade

Post 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:' );
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Dokuwiki integration CSP errors after upgrade

Post by atrol »

Also to follow up for other users https://www.mantisbt.org/bugs/view.php?id=23635
Please use Search before posting and read the Manual
Post Reply