CSP error when opening documents
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 30/100
Hướng nghiên cứu
Start by reproducing the reported CSP error with Nextcloud 23.0.1 and richdocumentscode 5.0.1, using the issue’s browser-console message and linked Docker Compose setup as references. Trace where the built-in server’s proxy.php?status URL is formed; done means opening a document no longer requests that resource over HTTP and the document loads.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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”).
- Ngôn ngữ chính
- PHP
- Star
- 156
- Fork
- 37
- Merge trung bình
- 23 giờ 51 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CollaboraOnline/richdocumentscode
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
CollaboraOnline/richdocumentscode#355 · 3 bình luận ·
-
Export to PDF uses wrong localeĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 48/100
CollaboraOnline/richdocumentscode#339 · 2 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 43/100
CollaboraOnline/richdocumentscode#338 · 1 bình luận ·
Tất cả issue của CollaboraOnline/richdocumentscode
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
vimeo/psalm#14139 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
sync-en
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 79/100
Maintainer thường phản hồi trong vòng 1 ngày
-
wpvc
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 67/100
10up/simple-local-avatars#386 ·
-
not confirmed
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Bug (unconfirmed) Documentation :books:
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
FreshRSS/FreshRSS#9577 · 4 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày