projects
/
catagits/Catalyst-Runtime.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Fixed $c->request->cookie, and improved detection of registry scripts
[catagits/Catalyst-Runtime.git]
/
lib
/
Catalyst
/
Engine
/
Apache
/
Base.pm
diff --git
a/lib/Catalyst/Engine/Apache/Base.pm
b/lib/Catalyst/Engine/Apache/Base.pm
index
ce4b33f
..
ebb3148
100644
(file)
--- a/
lib/Catalyst/Engine/Apache/Base.pm
+++ b/
lib/Catalyst/Engine/Apache/Base.pm
@@
-118,7
+118,7
@@
sub prepare_path {
$path =~ s/^\///;
- if ( $c->apache->filename && -x $c->apache->filename ) {
+ if ( $c->apache->filename && -f $c->apache->filename && -x _ ) {
my $filename = ( File::Spec->splitpath( $c->apache->filename ) )[2];