Skip to content

Commit 9f2ad03

Browse files
committed
Merged in [8249] from rjsparks@nostrum.com:\n Skip sheme-relative urls. Fixes bug ietf-tools#1466.
- Legacy-Id: 8364 Note: SVN reference [8249] has been migrated to Git commit 2d10a8d
1 parent 57b3f7a commit 9f2ad03

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

ietf/bin/test-crawl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@ def extract_html_urls(content):
6969
if not url.startswith("/"):
7070
continue
7171

72+
if url.startswith("//"):
73+
continue
74+
7275
yield url
7376

7477
client = django.test.Client()
@@ -167,4 +170,3 @@ if errors > 0:
167170
sys.exit(1)
168171
else:
169172
sys.stderr.write("Found no errors.")
170-

0 commit comments

Comments
 (0)