[BUG] Plugin Breaking change
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 48/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- docker, nginx
- Ambito
- devops
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Dockerfile
- Stelle
- 125
- Fork
- 24
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxserver/docker-dokuwiki
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
linuxserver/docker-dokuwiki#92 · 2 commenti ·
Tutte le issue di linuxserver/docker-dokuwiki
Issue simili
-
Add govulncheck workflowApertaenhancement good first issue
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
losisin/helm-values-schema-json#437 ·
I maintainer di solito rispondono entro 2 giorni
-
CI: tests/*.mjs and install.sh are never checkedForse già presa @shuhuNB515 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
Leonxlnx/taste-skill#229 ·
I maintainer di solito rispondono entro 3 giorni
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
linuxserver/docker-healthchecks#137 · 1 commento ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 65/100
BenjaminPoilve/minichord#203 ·
-
area:infra help wanted type:ci
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
JoeyHammoth/semiconductor-bandgap-belvedere#62 ·
I maintainer di solito rispondono entro 1 giorno