Skip to content

Wrong protocol identification for relative URL with colons #49

@Ragnarokkr

Description

@Ragnarokkr

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

/wiki/Help

and for path

IPA

and this is clearly wrong.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions