From d801cc152985e1639dd009e7a654e5f933766fe3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 17 May 2022 14:15:06 +0200 Subject: [PATCH] fallback handler for regular page names containing brackets --- handlers/90_brackets.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 handlers/90_brackets.sh diff --git a/handlers/90_brackets.sh b/handlers/90_brackets.sh new file mode 100755 index 0000000..b6b2538 --- /dev/null +++ b/handlers/90_brackets.sh @@ -0,0 +1,13 @@ +#!/bin/sh + +# spacial case for bracket pages that are not handled otherwise +# attachment and edit (and really all) handlers should take precedence + +case "${PATH_INFO}" in + */\[*\]/*) + theme_page "${PATH_INFO}" + return 0 + ;; +esac + +return 1 -- 2.39.2