*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects

Move inline scripts into their separate files

Merged Moser, Maximilian requested to merge dev2 into master

in order to remove the CSP header script-src 'unsafe-inline', we move the inline scripts into their separate files since the webpack'd JS files are static, we have to feed the matomo config values into the scripts via the DOM, similar to how it's done in the deposit form in invenio-app-rdm

unfortunately, the CK Editor (used in the deposit form) still requires style-src 'unsafe-inline' in its currently used form according to the documentation (https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/csp.html), this could be remedied by changing the build process

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Loading
  • Loading
Please register or sign in to reply
Loading