[BUG] Plugin Breaking change
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- docker, nginx
- Área
- devops
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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
- Lenguaje dominante
- Dockerfile
- Estrellas
- 125
- Forks
- 24
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de linuxserver/docker-dokuwiki
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
linuxserver/docker-dokuwiki#92 · 2 comentarios ·
Todos los issues de linuxserver/docker-dokuwiki
Issues similares
-
Add govulncheck workflowAbiertoenhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
losisin/helm-values-schema-json#437 ·
Los mantenedores suelen responder en 2 días
-
CI: tests/*.mjs and install.sh are never checkedPosiblemente ocupada @shuhuNB515 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Leonxlnx/taste-skill#229 ·
Los mantenedores suelen responder en 3 días
-
[BUG] SMTP listener now binds to EMAIL_PORT instead of 2525 since the gunicorn switch 5.0.3-ls373Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
linuxserver/docker-healthchecks#137 · 1 comentario ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 65/100
BenjaminPoilve/minichord#203 ·
-
area:infra help wanted type:ci
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
JoeyHammoth/semiconductor-bandgap-belvedere#62 ·
Los mantenedores suelen responder en 1 día