Skip to content

net/url: documentation - 0xAB is confusing #18642

@riking

Description

@riking

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

1.8beta

What did you do?

The documentation for url.PathUnescape is confusing, as 0xAB is an actual hexadecimal byte - implying that the 0xAB byte is somehow special. https://beta.golang.org/pkg/net/url/#PathEscape

What did you expect to see?

Letters such as %YZ -> 0xYZ should be used for placeholder characters not referencing specific bytes in the context of string transformation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationIssues describing a change to documentation.FrozenDueToAgeNeedsFixThe path to resolution is known, but the work has not been done.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions