Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins. Closes: #502047

master
Joey Hess 2008-10-13 12:32:16 -04:00
parent a75a0dd1dc
commit 3b27af4a29
2 changed files with 3 additions and 1 deletions

View File

@ -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"

2
debian/changelog vendored
View File

@ -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