Wrong protocol identification for relative URL with colons #49

Ragnarokkr opened this Issue Oct 20, 2012 · 2 comments


None yet
2 participants

I think to have found a minor issue, in URI parsing.

You can replicate this issue using the Wikipedia links. For example, parsing a local URL on Wikipedia:

<a href="/wiki/Help:IPA">....</a>

the URI.parse() method returns for protocol


and for path


and this is clearly wrong.


rodneyrehm commented Oct 21, 2012

good catch! I'll look into it


rodneyrehm commented Oct 21, 2012

This issue has been adressed and is fixed in v1.7.4

rodneyrehm closed this Oct 21, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment