Merge branch 'jl/nor-or-nand-and'
Eradicate mistaken use of "nor" (that is, essentially "nor" used not in "neither A nor B" ;-)) from in-code comments, command output strings, and documentations. * jl/nor-or-nand-and: code and test: fix misuses of "nor" comments: fix misuses of "nor" contrib: fix misuses of "nor" Documentation: fix misuses of "nor"
This commit is contained in:
@ -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!(^|/)(|\.|\.\.)(/|$)!) {
|
||||
|
Reference in New Issue
Block a user