From 1f8c12e59bb5ace034d5eb0a48a9c189641235c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roland=20R=C3=BCdenauer?= Date: Wed, 10 Sep 2025 22:25:12 +0200 Subject: [PATCH] Correct cspreport log path used in before_wiki (add leading slash) --- src/moin/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/moin/app.py b/src/moin/app.py index ee8ab03a3..1ccf93580 100644 --- a/src/moin/app.py +++ b/src/moin/app.py @@ -317,7 +317,7 @@ def before_wiki(): """ Setup environment for wiki requests, start timers. """ - if request and (is_static_content(request.path) or request.path == "+cspreport/log"): + if request and (is_static_content(request.path) or request.path == "/+cspreport/log"): logging.debug(f"skipping before_wiki for {request.path}") return