mirror of
https://github.com/benjaminion/upgrading-ethereum-book.git
synced 2026-01-09 14:38:08 -05:00
Allow relative links starting with '..'
This commit is contained in:
@@ -117,7 +117,7 @@ while(<$fh>) {
|
||||
print "Link to localhost, line $."
|
||||
} elsif ($link =~ /^http:/) {
|
||||
print "HTTP link, line $.";
|
||||
} elsif (not $link =~ /^https:\/\//) {
|
||||
} elsif (not $link =~ /^https:\/\// and not $link =~ /\.\.\//) {
|
||||
print "Suspicious link, line $.: $link";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user