]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
comments: fix misuses of "nor"
[Gitweb] / gitweb.perl
index 39f6641460280c3d7052710aa467efa4102082c4cd8d795c1871b1019b370d31..1fe25a56a4cdb7256fab2543168f0595f19487afab7f74120cbb00298d8ff694 100755 (executable)
@@ -1491,7 +1491,7 @@ sub is_valid_pathname {
        my $input = shift;
 
        return undef unless defined $input;
        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!(^|/)(|\.|\.\.)(/|$)!) {
        # at the beginning, at the end, and between slashes.
        # also this catches doubled slashes
        if ($input =~ m!(^|/)(|\.|\.\.)(/|$)!) {
This page took 0.345875 seconds and 4 git commands to generate.