On Sat, 9 Sep 2000, Shane Adams wrote:
> #7 0x80894de in XS_Apache_finfo (cv=0x8207410) at Apache.xs:1844
i haven't tried to reproduce this, but suspect a bug in $r->finfo which
the patch below should workaround.
--- lib/HTML/Mason/ApacheHandler.pm~ Thu Aug 24 22:42:51 2000
+++ lib/HTML/Mason/ApacheHandler.pm Mon Sep 11 11:43:02 2000
@@ -531,7 +531,7 @@
# If filename is a directory, then either decline or simply reset
# the content type, depending on the value of decline_dirs.
#
- if (-d $r->finfo) {
+ if (-d $r->filename) {
if ($self->decline_dirs) {
return DECLINED;
} else {
@@ -544,7 +544,7 @@
# (mainly for dhandlers).
#
my $pathname = $r->filename;
- $pathname .= $r->path_info unless -f $r->finfo;
+ $pathname .= $r->path_info unless -f _;
#
# Compute the component path via the resolver.
@@ -555,7 +555,7 @@
#
# Decline if file does not pass top level predicate.
#
- if (-f $r->finfo and defined($self->{top_level_predicate})) {
+ if (-f _ and defined($self->{top_level_predicate})) {
return NOT_FOUND unless $self->{top_level_predicate}->($r->filename);
}