nextcloud / files_rightclick

👉 Right click menu for Nextcloud
https://apps.nextcloud.com/apps/files_rightclick
GNU Affero General Public License v3.0
65 stars 23 forks source link

[Bug]: 25.0.5 : Refused to execute inline event handler because it violates the Content Security Policy directive #173

Closed solracsf closed 10 months ago

solracsf commented 1 year ago

⚠️ This issue respects the following points: ⚠️

Bug description

Right-click to open contextual menu logs a browser console error.

image

Steps to reproduce

  1. Open browser console (Brave here)
  2. Go to files app
  3. Right-clic on a file or folder

Expected behavior

No CSP errors.

Installation method

None

Operating system

None

PHP engine version

PHP 8.1

Web server

None

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

No response

List of activated Apps

N/A

Nextcloud Signing status

Passed

Nextcloud Logs

No logs

Additional info

No response

skjnldsv commented 1 year ago

What is the script.js and files.js file location?

solracsf commented 1 year ago
https://domain/apps/files_rightclick/js/files.js?v=0e4677bf-172
https://domain/apps/files_rightclick/js/script.js?v=0e4677bf-172

Also on 25.0.10