aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@kodama.kitenet.net>2008-10-13 12:32:16 -0400
committerJoey Hess <joey@kodama.kitenet.net>2008-10-13 12:32:16 -0400
commit3b27af4a29372c6fcd9cf203fff5b3614241bc67 (patch)
tree2796cf68e7c431b46d0d3ba0f0aad2ac14467a7b
parenta75a0dd1dc4f4c827a02375883614af7c68dae27 (diff)
downloadikiwiki-3b27af4a29372c6fcd9cf203fff5b3614241bc67.tar
ikiwiki-3b27af4a29372c6fcd9cf203fff5b3614241bc67.tar.gz
Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins. Closes: #502047
-rw-r--r--IkiWiki/Wrapper.pm2
-rw-r--r--debian/changelog2
2 files changed, 3 insertions, 1 deletions
diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm
index 6dc25403e..187314d16 100644
--- a/IkiWiki/Wrapper.pm
+++ b/IkiWiki/Wrapper.pm
@@ -28,7 +28,7 @@ sub gen_wrapper () { #{{{
my @envsave;
push @envsave, qw{REMOTE_ADDR QUERY_STRING REQUEST_METHOD REQUEST_URI
CONTENT_TYPE CONTENT_LENGTH GATEWAY_INTERFACE
- HTTP_COOKIE REMOTE_USER} if $config{cgi};
+ HTTP_COOKIE REMOTE_USER HTTPS} if $config{cgi};
my $envsave="";
foreach my $var (@envsave) {
$envsave.=<<"EOF"
diff --git a/debian/changelog b/debian/changelog
index fa6829eb8..c38f44d79 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,8 @@ ikiwiki (2.67) UNRELEASED; urgency=low
page, but that's out of scope for ikiwiki.)
* orphans: Fix unquoted page name in regexp.
* google: Plugin provides google site search, contributed by Peter Simons.
+ * Pass HTTPS variable through the wrapper so that CGI->https can be used
+ by plugins. Closes: #502047
-- Joey Hess <joeyh@debian.org> Mon, 06 Oct 2008 16:07:50 -0400