Project

General

Profile

Actions

Task #3736

closed

Allow Matomo In CSP for extensions

Added by Juan José González 15 days ago. Updated 8 days ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Tags:

Description

Hi, I tried to load the matomo snippet in extensions.libreoffice.org but it got blocked because CSP.

Could you add https://matomo.documentfoundation.org to the content-security-policy script-src response header?

PS. I am not sure if 'unsafe-inline' (which is already set) should be enough, but right now is not working

Actions #1

Updated by Guilhem Moulin 15 days ago

  • Status changed from New to Feedback

Ah my bad, the snippet I shared (and got from Matomo) was wrong. It should be s/matomo/piwik/ (we still use the old name of the software):

   var u="https://piwik.documentfoundation.org/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
Actions #2

Updated by Juan José González 13 days ago

Thank you, I will try it later but it seems I am not getting a CSP error now

Actions #3

Updated by Juan José González 11 days ago

  • Status changed from Feedback to Resolved
Actions #4

Updated by Juan José González 8 days ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF