From: Joey Hess Date: Wed, 5 Jan 2011 20:08:21 +0000 (-0400) Subject: Export three cgi env vars needed for CGI->url to work. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4dbb8120f760d9009f0c2639f2ccb9808150aed5;p=ikiwiki.git Export three cgi env vars needed for CGI->url to work. --- diff --git a/IkiWiki/Wrapper.pm b/IkiWiki/Wrapper.pm index 5eb96f4ae..84cc7540b 100644 --- a/IkiWiki/Wrapper.pm +++ b/IkiWiki/Wrapper.pm @@ -49,6 +49,7 @@ sub gen_wrapper () { push @envsave, qw{REMOTE_ADDR QUERY_STRING REQUEST_METHOD REQUEST_URI CONTENT_TYPE CONTENT_LENGTH GATEWAY_INTERFACE HTTP_COOKIE REMOTE_USER HTTPS REDIRECT_STATUS + HTTP_HOST SERVER_PORT HTTPS REDIRECT_URL} if $config{cgi}; my $envsave=""; foreach my $var (@envsave) { diff --git a/debian/changelog b/debian/changelog index e9323014d..4ed9bb8b2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -11,6 +11,7 @@ ikiwiki (3.20101232) UNRELEASED; urgency=low the site's main url. * Fix permalinks to recentchanges items and comments, broken by last release. + * Export three cgi env vars needed for CGI->url to work. -- Joey Hess Tue, 04 Jan 2011 16:00:55 -0400