[BUG] Plugin Breaking change
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- docker, nginx
- Lĩnh vực
- devops
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Dockerfile
- Star
- 125
- Fork
- 24
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
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 linuxserver/docker-dokuwiki
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
linuxserver/docker-dokuwiki#92 · 2 bình luận ·
Tất cả issue của linuxserver/docker-dokuwiki
Issue tương tự
-
Add govulncheck workflowĐang mởenhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
losisin/helm-values-schema-json#437 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
CI: tests/*.mjs and install.sh are never checkedCó thể đã có người làm @shuhuNB515 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Leonxlnx/taste-skill#229 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
linuxserver/docker-healthchecks#137 · 1 bình luận ·
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
BenjaminPoilve/minichord#203 ·
-
area:infra help wanted type:ci
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
JoeyHammoth/semiconductor-bandgap-belvedere#62 ·
Maintainer thường phản hồi trong vòng 1 ngày