Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net/http: `r.FormValue()` ignores the return value of `ParseMultipartForm()` #20895
Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (
Request.FormValue is a convenience, best-effort method. If it's not convenient, don't use it.
We can't change its signature (https://golang.org/doc/go1compat) even if we wanted to.
Typical caller code will check FormValue for acceptable values and return an HTTP