]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Wrapper.pm
IkiWiki::Wrapper: allow REDIRECT_STATUS and REDIRECT_URL through from environment
[git.ikiwiki.info.git] / IkiWiki / Wrapper.pm
index dd9971a34f8a5835b9b5b2bb1f698ef7b4f6e17e..8a6340f58c4f1ec5a6b77587672e0721f0f250c7 100644 (file)
@@ -28,7 +28,8 @@ 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 HTTPS} if $config{cgi};
+                      HTTP_COOKIE REMOTE_USER HTTPS REDIRECT_STATUS
+                      REDIRECT_URL} if $config{cgi};
        my $envsave="";
        foreach my $var (@envsave) {
                $envsave.=<<"EOF";