From: Andy Grundman Date: Wed, 30 Nov 2005 18:20:02 +0000 (+0000) Subject: Backed out REDIRECT_URL support until we can get a working test X-Git-Tag: 5.7099_04~811 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Runtime.git;a=commitdiff_plain;h=294f78ca00792c3014ef0b70808fcb04ebe13c9c Backed out REDIRECT_URL support until we can get a working test --- diff --git a/Changes b/Changes index 66bdac8..dfe4496 100644 --- a/Changes +++ b/Changes @@ -1,8 +1,7 @@ This file documents the revision history for Perl extension Catalyst. -5.59 +5.59 2005-11-30 13:25:00 - Fixed shebang line for generated scripts - - Added REDIRECT_URL support - Fixed forward to classes ($c->forward(qw/MyApp foo/)) - Wrap use block in begin to quelch C:C3 warnings - Removed scrollbar from debug output diff --git a/lib/Catalyst/Engine/CGI.pm b/lib/Catalyst/Engine/CGI.pm index 56d988f..d2d041e 100644 --- a/lib/Catalyst/Engine/CGI.pm +++ b/lib/Catalyst/Engine/CGI.pm @@ -110,9 +110,9 @@ sub prepare_path { local (*ENV) = $self->env || \%ENV; my $scheme = $c->request->secure ? 'https' : 'http'; - my $host = $ENV{HTTP_HOST} || $ENV{SERVER_NAME}; - my $port = $ENV{SERVER_PORT} || 80; - my $base_path = $ENV{REDIRECT_URL} || $ENV{SCRIPT_NAME} || '/'; + my $host = $ENV{HTTP_HOST} || $ENV{SERVER_NAME}; + my $port = $ENV{SERVER_PORT} || 80; + my $base_path = $ENV{SCRIPT_NAME} || '/'; # If we are running as a backend proxy, get the true hostname PROXY_CHECK: