Jim Spath wrote:
Jim Spath wrote:
I was wondering why Catalyst::Engine::CGI::prepare_path() ignores the
port in the Host header and instead uses $ENV{SERVER_PORT}.
my $scheme = $c->request->secure ? 'https' : 'http';
my $host = $ENV{HTTP_HOST} || $ENV{SERVER_NAME};
my $port
Jim Spath wrote:
I was wondering why Catalyst::Engine::CGI::prepare_path() ignores the
port in the Host header and instead uses $ENV{SERVER_PORT}.
my $scheme = $c->request->secure ? 'https' : 'http';
my $host = $ENV{HTTP_HOST} || $ENV{SERVER_NAME};
my $port = $ENV{SERVER
I was wondering why Catalyst::Engine::CGI::prepare_path() ignores the
port in the Host header and instead uses $ENV{SERVER_PORT}.
my $scheme = $c->request->secure ? 'https' : 'http';
my $host = $ENV{HTTP_HOST} || $ENV{SERVER_NAME};
my $port = $ENV{SERVER_PORT} || 80;