Merged in [8249] from rjsparks@nostrum.com:\n Skip sheme-relative urls. Fixes bug #1466.
- Legacy-Id: 8364 Note: SVN reference [8249] has been migrated to Git commit 2d10a8d20c71d3df815e6ea15737d0cd60b3cde3
This commit is contained in:
parent
57b3f7a825
commit
9f2ad03748
|
@ -69,6 +69,9 @@ def extract_html_urls(content):
|
|||
if not url.startswith("/"):
|
||||
continue
|
||||
|
||||
if url.startswith("//"):
|
||||
continue
|
||||
|
||||
yield url
|
||||
|
||||
client = django.test.Client()
|
||||
|
@ -167,4 +170,3 @@ if errors > 0:
|
|||
sys.exit(1)
|
||||
else:
|
||||
sys.stderr.write("Found no errors.")
|
||||
|
Loading…
Reference in a new issue