richdocumentscode
richdocumentscode copied to clipboard
CSP error when opening documents
Describe the bug When opening a document the content is not loaded. The webconsole shows a CSP error. This error occured with the update to Nextcloud v23 and richdocumentscode v.5.0.1
Content Security Policy: The page’s settings blocked the loading of a resource at http://mydomain.com/custom_apps/richdocumentscode/proxy.php?status (“connect-src”).
I think it should use https instead of http
To Reproduce Steps to reproduce the behavior:
- Install Collabora Online - Built-in CODE Server
- Use the Built-in server
- Select a document
- See error
Expected behavior I expect to be able to edit documents
Screenshots
Client details:
- OS: Linux
- Browser: Firefox, Chromium
- Version , 96.0.3 and 98.0.4758.80 Arch Linux
- Device: desktop
Server details
Operating system:
Web server: Ubuntu 20.04, but everything runs in docker containers
Database: Maria DB
Nextcloud version: 23.0.1
Version of the richdocuments app 5.0.1
Version of Collabora Online 21.11.103
My docker-compose setup https://gist.github.com/greenbourne277/99190585dc3afeff53cbbc5d823767dd
Nextcloud log (data/nextcloud.log)
No errors in the logs.
Browser log
Content Security Policy: The page’s settings blocked the loading of a resource at http://my-cloud.de/custom_apps/richdocumentscode/proxy.php?status (“connect-src”).