{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/3657","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/3657/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/3657/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/3657/events","html_url":"https://github.com/aspnet/Mvc/issues/3657","id":119160568,"number":3657,"title":"Triplicate null checks in CORS APIs","user":{"login":"Jeffiy","id":5069316,"avatar_url":"https://avatars.githubusercontent.com/u/5069316?v=3","gravatar_id":"","url":"https://api.github.com/users/Jeffiy","html_url":"https://github.com/Jeffiy","followers_url":"https://api.github.com/users/Jeffiy/followers","following_url":"https://api.github.com/users/Jeffiy/following{/other_user}","gists_url":"https://api.github.com/users/Jeffiy/gists{/gist_id}","starred_url":"https://api.github.com/users/Jeffiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jeffiy/subscriptions","organizations_url":"https://api.github.com/users/Jeffiy/orgs","repos_url":"https://api.github.com/users/Jeffiy/repos","events_url":"https://api.github.com/users/Jeffiy/events{/privacy}","received_events_url":"https://api.github.com/users/Jeffiy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Mvc/labels/1%20-%20Ready","name":"1 - Ready","color":"CCCCCC"}],"state":"open","locked":false,"assignee":{"login":"pranavkm","id":174281,"avatar_url":"https://avatars.githubusercontent.com/u/174281?v=3","gravatar_id":"","url":"https://api.github.com/users/pranavkm","html_url":"https://github.com/pranavkm","followers_url":"https://api.github.com/users/pranavkm/followers","following_url":"https://api.github.com/users/pranavkm/following{/other_user}","gists_url":"https://api.github.com/users/pranavkm/gists{/gist_id}","starred_url":"https://api.github.com/users/pranavkm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pranavkm/subscriptions","organizations_url":"https://api.github.com/users/pranavkm/orgs","repos_url":"https://api.github.com/users/pranavkm/repos","events_url":"https://api.github.com/users/pranavkm/events{/privacy}","received_events_url":"https://api.github.com/users/pranavkm/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/aspnet/Mvc/milestones/20","html_url":"https://github.com/aspnet/Mvc/milestones/6.0.0-rc2","labels_url":"https://api.github.com/repos/aspnet/Mvc/milestones/20/labels","id":1370810,"number":20,"title":"6.0.0-rc2","description":"","creator":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"open_issues":60,"closed_issues":39,"state":"open","created_at":"2015-10-22T16:51:50Z","updated_at":"2015-11-28T21:35:40Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2015-11-27T09:26:55Z","updated_at":"2015-11-28T21:35:57Z","closed_at":null,"body":"Hey, the code of https://github.com/aspnet/Mvc/blob/dev/src%2FMicrosoft.AspNet.Mvc.Cors%2FCorsAuthorizationFilter.cs#L54-L67, https://github.com/aspnet/Mvc/blob/dev/src%2FMicrosoft.AspNet.Mvc.Cors%2FCorsAuthorizationFilterFactory.cs#L39-L52 and https://github.com/aspnet/Mvc/blob/dev/src%2FMicrosoft.AspNet.Mvc.Cors%2FDisableCorsAuthorizationFilter.cs#L32-L45 are triplicate, is there any special purpose? \r\nThanks."},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/160337905","html_url":"https://github.com/aspnet/Mvc/issues/3657#issuecomment-160337905","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/3657","id":160337905,"user":{"login":"Eilon","id":202643,"avatar_url":"https://avatars.githubusercontent.com/u/202643?v=3","gravatar_id":"","url":"https://api.github.com/users/Eilon","html_url":"https://github.com/Eilon","followers_url":"https://api.github.com/users/Eilon/followers","following_url":"https://api.github.com/users/Eilon/following{/other_user}","gists_url":"https://api.github.com/users/Eilon/gists{/gist_id}","starred_url":"https://api.github.com/users/Eilon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eilon/subscriptions","organizations_url":"https://api.github.com/users/Eilon/orgs","repos_url":"https://api.github.com/users/Eilon/repos","events_url":"https://api.github.com/users/Eilon/events{/privacy}","received_events_url":"https://api.github.com/users/Eilon/received_events","type":"User","site_admin":false},"created_at":"2015-11-28T21:35:57Z","updated_at":"2015-11-28T21:35:57Z","body":"Just needed to be *extra* sure the value wasn't `null` :smile: "}}