{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/2673","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/2673/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/2673/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/2673/events","html_url":"https://github.com/aspnet/Mvc/issues/2673","id":86365943,"number":2673,"title":"Should our Enum conversions in ModelBinding call Enum.IsDefined?","user":{"login":"rynowak","id":1430011,"avatar_url":"https://avatars.githubusercontent.com/u/1430011?v=3","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/Model%20Binding","name":"Model Binding","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-08T23:11:26Z","updated_at":"2015-06-08T23:11:39Z","closed_at":null,"body":"See discussion here: https://github.com/aspnet/Mvc/pull/2671#discussion_r31969481\r\n\r\nWe have code that turns untrusted input into an Enum (that the user likely defined). Why aren't we calling `Enum.IsDefined`?"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/110168535","html_url":"https://github.com/aspnet/Mvc/issues/2673#issuecomment-110168535","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/2673","id":110168535,"user":{"login":"rynowak","id":1430011,"avatar_url":"https://avatars.githubusercontent.com/u/1430011?v=3","gravatar_id":"","url":"https://api.github.com/users/rynowak","html_url":"https://github.com/rynowak","followers_url":"https://api.github.com/users/rynowak/followers","following_url":"https://api.github.com/users/rynowak/following{/other_user}","gists_url":"https://api.github.com/users/rynowak/gists{/gist_id}","starred_url":"https://api.github.com/users/rynowak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rynowak/subscriptions","organizations_url":"https://api.github.com/users/rynowak/orgs","repos_url":"https://api.github.com/users/rynowak/repos","events_url":"https://api.github.com/users/rynowak/events{/privacy}","received_events_url":"https://api.github.com/users/rynowak/received_events","type":"User","site_admin":false},"created_at":"2015-06-08T23:11:39Z","updated_at":"2015-06-08T23:11:39Z","body":"/cc @blowdart "}}