X-Git-Url: http://git.plutz.net/?p=cgilite;a=blobdiff_plain;f=cgi.sh;h=f79d41635746e19ce821700ec9fe80a8956913a0;hp=32c73e6b2f92b387b4207d5c5b09bf8e96fa42fa;hb=53f96e76b42d9ae892775f90921e03c0e8abcee8;hpb=c8e9cf35b5181a3a975edfc6cd4b7e624b50bc49 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 }