Skip to content

net/url: sub delimiters are percent encoded unnecessarily. #7975

@DanielMorsing

Description

@DanielMorsing
"!$&'()*+,;=" is the sub-delims class in RFC 3986. As such, they're
allowed in every part of a URL apart from the scheme, but the Go URI formatter escapes
"()'!" anyway.

Example:
http://play.golang.org/p/JrYygt6C5q

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions