From: Paul Hänsch Date: Wed, 31 May 2023 21:13:57 +0000 (+0200) Subject: bugfix: correct acl checking when reading page title X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=7b1d09355423bab7971b947fc2a93ba550bab153;p=shellwiki bugfix: correct acl checking when reading page title --- 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}"