From: Joey Hess Date: Mon, 13 Oct 2008 16:32:16 +0000 (-0400) Subject: Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins... X-Git-Tag: 2.67~31 X-Git-Url: http://git.tremily.us/?p=ikiwiki.git;a=commitdiff_plain;h=3b27af4a29372c6fcd9cf203fff5b3614241bc67 Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins. Closes: #502047 --- 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