Discovery - Protocol relative URLs are allowed?

Issue #913 wontfix
hideki nara created an issue

Current specification may not allow protocol relative URLs which starts with double slash, e.g. // .

I wish it more clear if those urls are prohibit or not.

Python urlparse() works those URL, PHP parse_url() fails to parse.

Comments (2)

  1. Michael Jones

    We don't expect normal users to type //host, so this seems like an edge case. There's nothing wrong with accepting it, but we're not going to require it.

  2. Log in to comment