From 6ffedaf820cebb10be3eb89746f88e375c806858 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 4 Sep 2023 10:49:00 +0200 Subject: [PATCH] bugfix: link path in revision list --- handlers/40_revision.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/handlers/40_revision.sh b/handlers/40_revision.sh index 1ab4649..af39df3 100755 --- a/handlers/40_revision.sh +++ b/handlers/40_revision.sh @@ -19,10 +19,11 @@ case "${PATH_INFO}" in REDIRECT "${_BASE}${PATH_INFO%/}" ;; */\[revision\]) - if ! acl_read "${PATH_INFO%\[revision\]}"; then + page="${PATH_INFO%\[revision\]}" + if ! acl_read "${page}"; then theme_error 403 else - "$_EXEC/macros/revisions" --list --diff "$page" \ + "$_EXEC/macros/revisions" --list --diff "${page}" \ | theme_revisions - fi return 0 -- 2.39.2