X-Git-Url: https://git.ladys.computer/Gitweb/blobdiff_plain/24eefea5ad720351fb757031814e2cce219725a5fa9b7e02c88eb45bd0219e1b..c97bf86085e0f7590fb94725c71c56254a7d09dd98f8a891c99365cbfa1cb3bb:/gitweb.perl diff --git a/gitweb.perl b/gitweb.perl index 1c8196b..1fe25a5 100755 --- a/gitweb.perl +++ b/gitweb.perl @@ -1491,7 +1491,7 @@ sub is_valid_pathname { my $input = shift; return undef unless defined $input; - # no '.' or '..' as elements of path, i.e. no '.' nor '..' + # no '.' or '..' as elements of path, i.e. no '.' or '..' # at the beginning, at the end, and between slashes. # also this catches doubled slashes if ($input =~ m!(^|/)(|\.|\.\.)(/|$)!) { @@ -7095,7 +7095,7 @@ sub git_blob { git_print_page_path($file_name, "blob", $hash_base); print "
\n"; if ($mimetype =~ m!^image/!) { - print qq!