Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

affected/package: "net/url" #56688

Closed
kainsk opened this issue Nov 10, 2022 · 1 comment
Closed

affected/package: "net/url" #56688

kainsk opened this issue Nov 10, 2022 · 1 comment

Comments

@kainsk
Copy link

kainsk commented Nov 10, 2022

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

go version go1.19.3 linux/amd64

Does this issue reproduce with the latest release?

Yes

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

go env Output
no need

What did you do?

package main

import (
	"log"
	"net/url"
)

func main() {
	log.SetFlags(0)
	u, err := url.Parse("http://localhost:9999/foo?id=XXXX;")
	if err != nil {
		log.Fatalf("Failed to parse URL: %v", err)
	}
	log.Printf("%#v\n", u.Query())
}

What did you expect to see?

url.Values{"id":[]string{"XXXX"}}

What did you see instead?

url.Values{}
@kainsk
Copy link
Author

kainsk commented Nov 10, 2022

it's - ok for go1
wait go2

#25192

close issue.

@kainsk kainsk closed this as completed Nov 10, 2022
@golang golang locked and limited conversation to collaborators Nov 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants