]> git.plutz.net Git - webpoll/commitdiff
handle _BASE variable in cgilite
authorPaul Hänsch <paul@plutz.net>
Wed, 27 Jul 2022 11:48:44 +0000 (13:48 +0200)
committerPaul Hänsch <paul@plutz.net>
Wed, 27 Jul 2022 11:48:44 +0000 (13:48 +0200)
index.cgi

index a2059e290bf84e58a20e733167123b3fa932d09c..060d7dcc0670432a98b0ea97dcb671a64ae8288f 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -6,7 +6,7 @@
 . "$_EXEC"/cgilite/storage.sh
 . "$_EXEC"/widgets.sh
 
-PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")"
+PATH_INFO="$(PATH "/${PATH_INFO#${_BASE}}")"
 
 # bookmarks_cookie="$(COOKIE bookmarks |grep -xE '[0-9a-zA-Z:=]{16}(/[0-9a-zA-Z:=]{16})?( [0-9a-zA-Z:=]{16}(/[0-9a-zA-Z:=]{16})?)*')"
 bookmarks=''