From 3b27af4a29372c6fcd9cf203fff5b3614241bc67 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 13 Oct 2008 12:32:16 -0400 Subject: [PATCH] Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins. Closes: #502047 --- IkiWiki/Wrapper.pm | 2 +- debian/changelog | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 Mon, 06 Oct 2008 16:07:50 -0400 -- 2.44.0