X-Git-Url: http://git.plutz.net/?p=busy;a=blobdiff_plain;f=write%2Fwikimeta.cgi;h=fe234aee772299a229bdde77c35fd2d122a33558;hp=71ece533f51007cd63ae1347e063c5a30eb57234;hb=7799a762ca2dfbd022f7f8425fc207c8211e3ef7;hpb=f519a60fe642332db20d13b6d199861a9a689f50 diff --git a/write/wikimeta.cgi b/write/wikimeta.cgi index 71ece53..fe234ae 100755 --- a/write/wikimeta.cgi +++ b/write/wikimeta.cgi @@ -45,12 +45,12 @@ if [ -z "$cancel" -a -n "$comment" ]; then touch "../Wiki/$info" echo -e "author=${REMOTE_USER}" > "$commfile" echo -e "${comment}" >> "$commfile" - echo -n "Location: http://${HTTP_HOST}/?p=Wiki&i=$info\n\n" + echo -n "Location: https://${HTTP_HOST}/?p=Wiki&i=$info\n\n" elif [ -z "$cancel" -a -n "$description" ]; then touch "../Wiki/$info" echo -e "title=${title}" > "$descfile" echo -e "description=${description}" >> "$descfile" - echo -n "Location: http://${HTTP_HOST}/?p=Wiki#$anchor\n\n" + echo -n "Location: https://${HTTP_HOST}/?p=Wiki#$anchor\n\n" elif [ -n "$cancel" ]; then - echo -n "Location: http://${HTTP_HOST}/?p=Wiki#$anchor\n\n" + echo -n "Location: https://${HTTP_HOST}/?p=Wiki#$anchor\n\n" fi