net/url: can't roundtrip path-only url with double leading slash #44631
Labels
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
https://play.golang.org/p/aGhEYiEiSfN
panic: parse "//%20f": invalid URL escape "%20"
goroutine 1 [running]:
main.main()
/tmp/sandbox000750098/prog.go:23 +0x269
What did you expect to see?
first parse and second parse need same
What did you see instead?
panic: parse "//%20f": invalid URL escape "%20"
goroutine 1 [running]:
main.main()
/tmp/sandbox000750098/prog.go:23 +0x269
The text was updated successfully, but these errors were encountered: