You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTML forms submit checkboxes as "on" when checked.
I think that strconv.ParseBool should return true for input str "on" as it would make parsing form data much easier.
I think this is unlikely to change. Arguably it would be backwards incompatible, since the Go 1 docs specifically say inputs other than those enumerated will return an error.
HTML forms submit checkboxes as "on" when checked.
I think that
strconv.ParseBool
should returntrue
for input str"on"
as it would make parsing form data much easier.https://github.com/golang/go/blob/release-branch.go1.9/src/strconv/atob.go#L12
I'm using: Go 1.8 on Windows
The text was updated successfully, but these errors were encountered: