From e2d7c1e8f40ff1c44a84d65151ffccc40ef67203 Mon Sep 17 00:00:00 2001 From: "jon+ikiwiki@663db4cb26e845748f3e7e6d51eeb26c6014f1c3" Date: Fri, 8 Dec 2017 07:58:24 -0400 Subject: [PATCH] bug report re http redirect --- .../cgi_redirecting_to_non-https_URL.mdwn | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 doc/bugs/cgi_redirecting_to_non-https_URL.mdwn diff --git a/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn b/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn new file mode 100644 index 000000000..042acb615 --- /dev/null +++ b/doc/bugs/cgi_redirecting_to_non-https_URL.mdwn @@ -0,0 +1,24 @@ +I have a private ikiwiki (3.20170111) which is running on a host that serves HTTP and HTTPS, but ikiwiki is configured for (and only served on) HTTPS: + + url: https:///phd/ + cgiurl: https:///phd/cgi + +However, form submissions from ikiwiki are going to a HTTP URL and thus not being served. Example headers from submitting a comment: + +``` +Request URL:https:///phd/cgi +Request Method:POST +Status Code:302 Found +Remote Address::443 +Referrer Policy:no-referrer-when-downgrade + +Response Headers +HTTP/1.1 302 Found +Server: nginx/1.10.3 +Date: Fri, 08 Dec 2017 11:53:35 GMT +Content-Length: 0 +Connection: keep-alive +Status: 302 Found +Location: http:///phd/blog/38th_Dec/?updated#comment-bd0549eb2464b5ca0544f68e6c32221e +``` + -- 2.39.2