You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Content Security Policy: Les paramètres de la page ont empêché le chargement d'une ressource à self (« script-src https://my.shaarli.url »)
Eg. for apache2 Header set Content-Security-Policy "script-src 'self'" prevents qr code/tag autocomplete/... from running. Header set Content-Security-Policy "script-src 'self' 'unsafe-inline'" allows it, but is less safe.
The text was updated successfully, but these errors were encountered:
It would be great to move inline javascript (for example https://github.com/shaarli/Shaarli/blob/master/tpl/linklist.html#L70 ) to their own .js files. Inline javascript does not run when the server has strict Content Security Policy (CSP) settings (good practice).
Firefox console returns:
Eg. for apache2
Header set Content-Security-Policy "script-src 'self'"
prevents qr code/tag autocomplete/... from running.Header set Content-Security-Policy "script-src 'self' 'unsafe-inline'"
allows it, but is less safe.The text was updated successfully, but these errors were encountered: