Skip to content

net/url: url.Query() is not returning the correct value #59821

@aayush-sib

Description

@aayush-sib

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

$ go version
go version go1.19.6 darwin/amd64

Does this issue reproduce with the latest release?

Yes

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

go env Output
$ go env

What did you do?

Code -> https://go.dev/play/p/pLLAs_g3v1l

What did you expect to see?

map[query1:[test]]

What did you see instead?

map[]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions