Skip to content

Commit

Permalink
linkcheck: Consider protocol relative URLs as "unchecked" (refs: sphi…
Browse files Browse the repository at this point in the history
  • Loading branch information
tk0miya committed Jul 23, 2020
1 parent 3d0818f commit a84d192
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sphinx/builders/linkcheck.py
Expand Up @@ -35,7 +35,7 @@

logger = logging.getLogger(__name__)

uri_re = re.compile('[a-z]+://')
uri_re = re.compile('([a-z]+:)?//') # matches to foo:// and // (a protocol relative URL)


DEFAULT_REQUEST_HEADERS = {
Expand Down

0 comments on commit a84d192

Please sign in to comment.