]> git.plutz.net Git - shellwiki/commitdiff
bugfix: correct acl checking when reading page title
authorPaul Hänsch <paul@plutz.net>
Wed, 31 May 2023 21:13:57 +0000 (23:13 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 31 May 2023 21:13:57 +0000 (23:13 +0200)
handlers/20_title.sh

index 4288b31de21ed086a726c4d54781d11d0500e2fc..a0079d2d594001abe62069a914cf2a195c1f76c3 100755 (executable)
@@ -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}"