mirror of https://github.com/apache/lucene.git
fix mailto and pass javascript links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1328988 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
d4550d9277
commit
6e9dade5d8
|
@ -167,13 +167,16 @@ def checkAll(dirName):
|
|||
print
|
||||
print fullPath
|
||||
print ' BAD EXTERNAL LINK: %s' % link
|
||||
elif link.startswith('mailto://'):
|
||||
elif link.startswith('mailto:'):
|
||||
if link.find('@lucene.apache.org') == -1 and link.find('@apache.org') != -1:
|
||||
if not printed:
|
||||
printed = True
|
||||
print
|
||||
print fullPath
|
||||
print ' BROKEN MAILTO (?): %s' % link
|
||||
elif link.startswith('javascript:'):
|
||||
# ok...?
|
||||
pass
|
||||
elif link not in allFiles:
|
||||
# We only load HTML... so if the link is another resource (eg
|
||||
# SweetSpotSimilarity refs
|
||||
|
|
Loading…
Reference in New Issue