From 7b1d09355423bab7971b947fc2a93ba550bab153 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Wed, 31 May 2023 23:13:57 +0200 Subject: [PATCH] bugfix: correct acl checking when reading page title --- handlers/20_title.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/20_title.sh b/handlers/20_title.sh index 4288b31..a0079d2 100755 --- a/handlers/20_title.sh +++ b/handlers/20_title.sh @@ -1,6 +1,6 @@ #!/bin/sh -if acl_read ${PATH_INFO%/*}; then +if acl_read ${PATH_INFO}; then mdfile="$(mdfile "${PATH_INFO%/*}")" else PAGE_TITLE="${SITE_TITLE}" -- 2.39.2