]> Lady’s Gitweb - Gitweb/commitdiff
comments: fix misuses of "nor"
authorJustin Lebar <redacted>
Mon, 31 Mar 2014 22:11:46 +0000 (15:11 -0700)
committerLady <redacted>
Mon, 6 Apr 2026 04:51:32 +0000 (00:51 -0400)
Signed-off-by: Justin Lebar <redacted>
Signed-off-by: Junio C Hamano <redacted>
gitweb.perl

index 39f6641460280c3d7052710aa467efa4102082c4cd8d795c1871b1019b370d31..1fe25a56a4cdb7256fab2543168f0595f19487afab7f74120cbb00298d8ff694 100755 (executable)
@@ -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!(^|/)(|\.|\.\.)(/|$)!) {
This page took 0.183222 seconds and 4 git commands to generate.