projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Additions to Manual::About (describing MVC)
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine
/
CGI.pm
diff --git
a/lib/Catalyst/Engine/CGI.pm
b/lib/Catalyst/Engine/CGI.pm
index
9f6698d
..
fae6a9a
100644
(file)
--- a/
lib/Catalyst/Engine/CGI.pm
+++ b/
lib/Catalyst/Engine/CGI.pm
@@
-137,7
+137,7
@@
sub prepare_path {
$port = $c->request->secure ? 443 : 80;
}
- my $path = $base_path . $ENV{PATH_INFO};
+ my $path = $base_path . ( $ENV{PATH_INFO} || '' );
$path =~ s{^/+}{};
my $uri = URI->new;