From d7ba9fdbc590932d2f59be6534ca1c5738fe2085 Mon Sep 17 00:00:00 2001 From: paul Date: Fri, 31 Jul 2015 13:00:57 +0000 Subject: [PATCH] introduced redirect function svn path=/trunk/; revision=10 --- cgi.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/cgi.sh b/cgi.sh index a9c59d9..d9ee5bd 100755 --- a/cgi.sh +++ b/cgi.sh @@ -86,3 +86,8 @@ urlsave(){ s;'\'';%27;g; s;\?;%3f;g;' } + +redirect(){ + printf '%s\n\n' "Location: $*" + exit 0 +} -- 2.39.2