CSP error when opening documents
評価
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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”).
- 主要言語
- PHP
- スター
- 156
- フォーク
- 37
- 平均マージ
- 23時間 51分
- マージ済み PR(30日)
- 2
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
CollaboraOnline/richdocumentscode のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 38/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
CollaboraOnline/richdocumentscode#355 · コメント 3 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
CollaboraOnline/richdocumentscode#339 · コメント 2 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
CollaboraOnline/richdocumentscode#338 · コメント 1 件 ·
CollaboraOnline/richdocumentscode の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
vimeo/psalm#14139 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
sync-en
難易度 1/5 1〜3時間 初心者へのやさしさ 79/100
メンテナーはふだん 1 日以内に返信
-
wpvc
難易度 1/5 1〜3時間 初心者へのやさしさ 67/100
10up/simple-local-avatars#386 ·
-
not confirmed
難易度 1/5 1時間未満 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
Bug (unconfirmed) Documentation :books:
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
FreshRSS/FreshRSS#9577 · コメント 4 件 ·
メンテナーはふだん 1 日以内に返信