The CSP report-uri is lost in development mode because strict() clears it
Los mantenedores suelen responder en 1 día
@VelpulaGangavardhan ya está trabajando en esto.
Desde el 16/10/2026.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
Línea de trabajo
Empieza en WebApplication.internalInit() y lee CSPHeaderConfiguration.strict() para confirmar cómo afecta clear() a la URI del informe. Añade una prueba que compruebe que una aplicación en modo de desarrollo envía un encabezado Content Security Policy con report-uri y, después, verifica que la prueba pase.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
WebApplication.internalInit() does this:
if (getConfigurationType() == RuntimeConfigurationType.DEVELOPMENT)
{
...
getCspSettings().blocking().reportBack();
}
getCspSettings().blocking().strict();
CSPHeaderConfiguration.strict() starts with clear(), so it removes the report-uri that reportBack() added a line earlier. In development mode the Content Security Policy header therefore never carries a report-uri, and violations are not reported back to the application, although that is clearly the intent. Same code on master and wicket-10.x.
Proposed fix: call strict() first and reportBack() after it, and add a test that a development-mode application sends a report-uri.
- Lenguaje dominante
- Java
- Estrellas
- 797
- Forks
- 416
- Merge medio
- 1 d 15 h
- PR fusionados (30 d)
- 36
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 apache/wicket
-
COOP and COEP exemptions compare with the context path, so page exemptions never matchPosiblemente ocupada @VelpulaGangavardhan la tomó hace 5 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
apache/wicket#1661 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
apache/wicket#1567 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Quickstart: mvn jetty:run has no SLF4J back end after slf4j-simple moved to test scopePosiblemente ocupada @dashorst la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 30/100
apache/wicket#1690 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
WebSocket: Request wrappers break the Servlet header contract (case-sensitive lookup, single-use enumerations)Posiblemente ocupada @reiern70 la tomó hace 2 días. Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
apache/wicket#1688 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de apache/wicket
Issues similares
-
human-required sync-failed
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Azure/osdu-spi-file#63 ·
Los mantenedores suelen responder en 1 día
-
frontend quick win
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
CodeForPhilly/benefit-decision-toolkit#571 ·
Los mantenedores suelen responder en 1 día
-
approved
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
checkstyle/checkstyle#22129 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Add Hardcharger JDBC driverPosiblemente ocupada @prmoore77 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día