Skip to content

net/url: better path resolving #4706

@moraes

Description

@moraes
The resolvePath function used by URL.ResolveReference doesn't cover all cases described
in the RFC 3986, and specially it fails to resolve some of the normal and abnormal
examples from sections 5.4.1 and 5.4.2 [1].

The code repository tip succeeds in some of these tests, but several still fail:
http://play.golang.org/p/F0ApSaXniv

[1] http://tools.ietf.org/html/rfc3986#section-5.4.1

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions