]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
Pass HTTPS variable through the wrapper so that CGI->https can be used by plugins...
authorJoey Hess <joey@kodama.kitenet.net>
Mon, 13 Oct 2008 16:32:16 +0000 (12:32 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Mon, 13 Oct 2008 16:32:16 +0000 (12:32 -0400)
IkiWiki/Wrapper.pm
debian/changelog

index 6dc25403e795ae980296272dfb754b00710dbafc..187314d165ff86e07e318f5861b4461d78da70cd 100644 (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"
index fa6829eb8d623f1986074e141b5d744b14bb1678..c38f44d79bd7738acacb12a5d1e5fa72f28e3670 100644 (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