From 53f96e76b42d9ae892775f90921e03c0e8abcee8 Mon Sep 17 00:00:00 2001 From: paul Date: Mon, 12 Mar 2018 12:17:44 +0000 Subject: [PATCH] send http status code when redirecting svn path=/trunk/; revision=62 --- cgi.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgi.sh b/cgi.sh index 32c73e6..f79d416 100755 --- a/cgi.sh +++ b/cgi.sh @@ -128,7 +128,7 @@ attribsafe(){ } redirect(){ - printf '%s\r\n\r\n' "Location: $*" + printf 'Status: 303 See Other\r\nLocation: %s\r\n\r\n' "$*" exit 0 } -- 2.39.2