projects
/
clickslide
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8e9cf3
)
send http status code when redirecting
author
paul
<paul@plutz.net>
Mon, 12 Mar 2018 12:17:44 +0000
(12:17 +0000)
committer
paul
<paul@plutz.net>
Mon, 12 Mar 2018 12:17:44 +0000
(12:17 +0000)
svn path=/trunk/; revision=62
cgi.sh
patch
|
blob
|
history
diff --git
a/cgi.sh
b/cgi.sh
index 32c73e6b2f92b387b4207d5c5b09bf8e96fa42fa..f79d41635746e19ce821700ec9fe80a8956913a0 100755
(executable)
--- 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
}