Skip to content

net/url: ParseQuery splits key/value pairs using old standard #23447

@andygarfield

Description

@andygarfield

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

1.9.2

Does this issue reproduce with the latest release?

Yes

What operating system and processor architecture are you using (go env)?

darwin/amd64

What did you do?

https://play.golang.org/p/DjUWkAay5Ds

What did you expect to see?

[value separated by; a semicolon]

What did you see instead?

[value separated by]

The HTML4 appendix recommends using semicolons (;) in addition to ampersands (&) to separate URL key/value pairs. However, the current standard describes only ampersands as a separator.

Pull request incoming.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions