diff options
author | Justin Lebar <jlebar@google.com> | 2014-03-31 15:11:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-31 15:29:27 -0700 |
commit | 01689909eb9f8366583c44b325d8d9ba259a2538 (patch) | |
tree | 6a4635a267885b3429f55c81a9a1c8787e36802e /gitweb | |
parent | e34b272344c1e7eb640dcce5990a75460240daed (diff) | |
download | git-01689909eb9f8366583c44b325d8d9ba259a2538.tar.gz |
comments: fix misuses of "nor"
Signed-off-by: Justin Lebar <jlebar@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'gitweb')
-rwxr-xr-x | gitweb/gitweb.perl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 3bc0f0b5ca..52108b9255 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -1490,7 +1490,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!(^|/)(|\.|\.\.)(/|$)!) { |