{"action":"created","issue":{"url":"https://api.github.com/repos/golang/go/issues/14272","repository_url":"https://api.github.com/repos/golang/go","labels_url":"https://api.github.com/repos/golang/go/issues/14272/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/14272/comments","events_url":"https://api.github.com/repos/golang/go/issues/14272/events","html_url":"https://github.com/golang/go/issues/14272","id":132336595,"number":14272,"title":"net/http: http request lost data when a lot of data is submitted from a form","user":{"login":"kyle11rd","id":10374625,"avatar_url":"https://avatars.githubusercontent.com/u/10374625?v=3","gravatar_id":"","url":"https://api.github.com/users/kyle11rd","html_url":"https://github.com/kyle11rd","followers_url":"https://api.github.com/users/kyle11rd/followers","following_url":"https://api.github.com/users/kyle11rd/following{/other_user}","gists_url":"https://api.github.com/users/kyle11rd/gists{/gist_id}","starred_url":"https://api.github.com/users/kyle11rd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kyle11rd/subscriptions","organizations_url":"https://api.github.com/users/kyle11rd/orgs","repos_url":"https://api.github.com/users/kyle11rd/repos","events_url":"https://api.github.com/users/kyle11rd/events{/privacy}","received_events_url":"https://api.github.com/users/kyle11rd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-09T05:43:31Z","updated_at":"2016-02-09T05:46:21Z","closed_at":null,"body":"I have a template with multiple drop down lists in a form:\r\n\r\n    <form action=\"/orderinfo\" method=\"post\">\r\n\r\n        <select name=\"Item\">\r\n          {{range .Items}}\r\n            <option>{{.}}</option>\r\n          {{end}}\r\n        </select>\r\n\r\n        <select name=\"Item\">\r\n          {{range .Items}}\r\n            <option>{{.}}</option>\r\n          {{end}}\r\n        </select>\r\n\r\n    ... a lot more of the same drop down list....\r\n\r\n        <select name=\"Item\">\r\n          {{range .Items}}\r\n            <option>{{.}}</option>\r\n          {{end}}\r\n        </select>\r\n\r\n       <input type=\"submit\" value=\"Save & Proceed\">\r\n     </form>\r\n\r\n\r\nWhere \r\n\r\n    Items: []string{\"Apple\", \"Banana\", \"Orange\", \"Cabbage\"},\r\n\r\n\r\nThe problem is, when I have 9 drop down lists, r.Form is \r\n\r\n    map[Item:[Apple Apple Apple Apple Apple Apple Apple Apple Apple]]\r\n\r\nBut when I have 10 or more drop down lists, r.Form becomes \r\n\r\n    map[]\r\n\r\np.s. This happens with Go 1.5.3\r\n"},"comment":{"url":"https://api.github.com/repos/golang/go/issues/comments/181720333","html_url":"https://github.com/golang/go/issues/14272#issuecomment-181720333","issue_url":"https://api.github.com/repos/golang/go/issues/14272","id":181720333,"user":{"login":"davecheney","id":7171,"avatar_url":"https://avatars.githubusercontent.com/u/7171?v=3","gravatar_id":"","url":"https://api.github.com/users/davecheney","html_url":"https://github.com/davecheney","followers_url":"https://api.github.com/users/davecheney/followers","following_url":"https://api.github.com/users/davecheney/following{/other_user}","gists_url":"https://api.github.com/users/davecheney/gists{/gist_id}","starred_url":"https://api.github.com/users/davecheney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davecheney/subscriptions","organizations_url":"https://api.github.com/users/davecheney/orgs","repos_url":"https://api.github.com/users/davecheney/repos","events_url":"https://api.github.com/users/davecheney/events{/privacy}","received_events_url":"https://api.github.com/users/davecheney/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T05:46:21Z","updated_at":"2016-02-09T05:46:21Z","body":"Thank you for your report. There are several issues here, the first is the repeated values in the 9 value case and the missing value in the 10 value case.\r\n\r\nCan you please provide a small runnable sample with a http handler and template that demonstrate this problem so we can investigate."}}