[BUG] Plugin Breaking change
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- docker, nginx
- 領域
- devops
調査の方向性
Start by reading the Nginx configuration linked in the issue, especially the location rule denying access to paths containing vendor/, and compare it with how DokuWiki serves plugin assets. The issue seeks a general solution for browser requested plugin files; done means the ProseMirror asset and similar plugin updates work without exposing protected paths. No repository file or test is identified in the issue.
索引モデルが issue の本文から書いたものです。
説明
Is there an existing issue for this?
- I have searched the existing issues
Current Behavior
According to https://github.com/cosmocode/dokuwiki-plugin-prosemirror/issues/232 the prosemirror plugin changed its behaviour with the latest update:
Since the last update they are no longer loaded via the DokuWiki dispatcher but requested directly by your browser.
The browser requests to get https://<server>/lib/plugins/prosemirror/vendor/prosemirror.js and gets a 403 forbidden error.
The forbidden error comes from:
location ~ /(conf/|bin/|inc/|vendor/) {
deny all;
}
The AI suggests an exact match:
location = /lib/plugins/prosemirror/vendor/prosemirror.js {
# Nginx will serve the file using the server's existing root/alias settings.
}
I prefer to more generic solution that works for all plugins who switch from DokuWiki dispatcher to the browser.
Expected Behavior
The prosemirror plugin and future plugin updates shall continue to work.
Steps To Reproduce
- Install/Update prosemirror plugin
- Edit a page
- See error
Environment
- OS: Synology DSM
- How docker service was installed: Synology Container Manager
CPU architecture
x86-64
Docker creation
docker-compose up -d --wait
Container logs
no container logs
- 主要言語
- Dockerfile
- スター
- 125
- フォーク
- 24
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxserver/docker-dokuwiki のほかの issue
-
enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
linuxserver/docker-dokuwiki#92 · コメント 2 件 ·
linuxserver/docker-dokuwiki の issue をすべて見る
似ている issue
-
enhancement good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
losisin/helm-values-schema-json#437 ·
メンテナーはふだん 2 日以内に返信
-
CI: tests/*.mjs and install.sh are never checked対応中かも @shuhuNB515 が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Leonxlnx/taste-skill#229 ·
メンテナーはふだん 3 日以内に返信
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
linuxserver/docker-healthchecks#137 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
BenjaminPoilve/minichord#203 ·
-
area:infra help wanted type:ci
難易度 2/5 1〜3時間 初心者へのやさしさ 83/100
JoeyHammoth/semiconductor-bandgap-belvedere#62 ·
メンテナーはふだん 1 日以内に返信