fix stat to use unmunged filename
parent
1f56dead00
commit
59bb1f1db3
|
@ -653,7 +653,7 @@ sub comments_pending () {
|
||||||
elsif (! -l $_ && ! -d _) {
|
elsif (! -l $_ && ! -d _) {
|
||||||
my ($f) = $file =~ /$config{wiki_file_regexp}/; # untaint
|
my ($f) = $file =~ /$config{wiki_file_regexp}/; # untaint
|
||||||
if (defined $f && $f =~ /\Q._comment\E$/) {
|
if (defined $f && $f =~ /\Q._comment\E$/) {
|
||||||
my $ctime=(stat($f))[10];
|
my $ctime=(stat($_))[10];
|
||||||
push @ret, [$f, $ctime];
|
push @ret, [$f, $ctime];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue