From 904badc9318ac7b320c81cacc3404aa58d28bb51 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Tue, 27 Jul 2021 00:55:04 +0200 Subject: [PATCH] bugfix: parameter passing in cgilite_value calls --- cgilite.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cgilite.sh b/cgilite.sh index f766ee2..9fa56ee 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -157,15 +157,15 @@ cgilite_keys(){ | sort -u } -GET(){ cgilite_value "${QUERY_STRING}" $@; } +GET(){ cgilite_value "${QUERY_STRING}" "$@"; } GET_COUNT(){ cgilite_count "${QUERY_STRING}" $1; } GET_KEYS(){ cgilite_keys "${QUERY_STRING}"; } -POST(){ cgilite_value "${cgilite_post}" $@; } +POST(){ cgilite_value "${cgilite_post}" "$@"; } POST_COUNT(){ cgilite_count "${cgilite_post}" $1; } POST_KEYS(){ cgilite_keys "${cgilite_post}"; } -REF(){ cgilite_value "${HTTP_REFERER#*\?}" $@; } +REF(){ cgilite_value "${HTTP_REFERER#*\?}" "$@"; } REF_COUNT(){ cgilite_count "${HTTP_REFERER#*\?}" $1; } REF_KEYS(){ cgilite_keys "${HTTP_REFERER#*\?}"; } -- 2.39.2