From cb80645196ee9d9a757434e33d2a2a1c48b0a2a3 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 9 Dec 2017 20:20:16 +0000 Subject: [PATCH 1/1] when redirecting send status code as specified in CGI svn path=/trunk/; revision=59 --- cgilite.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cgilite.sh b/cgilite.sh index cbfa724..e009a2f 100755 --- a/cgilite.sh +++ b/cgilite.sh @@ -126,6 +126,6 @@ SET_COOKIE(){ } REDIRECT(){ - printf '%s 303 See Other\r\nLocation: %s\r\n\r\n' "$SERVER_PROTOCOL" "$*" + printf 'Status: 303 See Other\r\nLocation: %s\r\n\r\n' "$*" exit 0 } -- 2.39.2