Skip to content

Apache Lucene open-source search software

fix mailto and pass javascript links

Robert Muir6e9dade5d842
diff --git a/dev-tools/scripts/checkJavadocLinks.py b/dev-tools/scripts/checkJavadocLinks.py
index cf797ed60e1..3322ece2e1a 100644
--- a/dev-tools/scripts/checkJavadocLinks.py
+++ b/dev-tools/scripts/checkJavadocLinks.py
@@ -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