{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/CORS/issues/94","repository_url":"https://api.github.com/repos/aspnet/CORS","labels_url":"https://api.github.com/repos/aspnet/CORS/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/CORS/issues/94/comments","events_url":"https://api.github.com/repos/aspnet/CORS/issues/94/events","html_url":"https://github.com/aspnet/CORS/pull/94","id":186668440,"number":94,"title":"Add support for configuring CorsPolicy with method to determine whether an origin is allowed","user":{"login":"Choc13","id":2675431,"avatar_url":"https://avatars.githubusercontent.com/u/2675431?v=3","gravatar_id":"","url":"https://api.github.com/users/Choc13","html_url":"https://github.com/Choc13","followers_url":"https://api.github.com/users/Choc13/followers","following_url":"https://api.github.com/users/Choc13/following{/other_user}","gists_url":"https://api.github.com/users/Choc13/gists{/gist_id}","starred_url":"https://api.github.com/users/Choc13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Choc13/subscriptions","organizations_url":"https://api.github.com/users/Choc13/orgs","repos_url":"https://api.github.com/users/Choc13/repos","events_url":"https://api.github.com/users/Choc13/events{/privacy}","received_events_url":"https://api.github.com/users/Choc13/received_events","type":"User","site_admin":false},"labels":[{"id":206246220,"url":"https://api.github.com/repos/aspnet/CORS/labels/cla-signed","name":"cla-signed","color":"207de5","default":false}],"state":"open","locked":false,"assignee":{"login":"jbagga","id":6234561,"avatar_url":"https://avatars.githubusercontent.com/u/6234561?v=3","gravatar_id":"","url":"https://api.github.com/users/jbagga","html_url":"https://github.com/jbagga","followers_url":"https://api.github.com/users/jbagga/followers","following_url":"https://api.github.com/users/jbagga/following{/other_user}","gists_url":"https://api.github.com/users/jbagga/gists{/gist_id}","starred_url":"https://api.github.com/users/jbagga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbagga/subscriptions","organizations_url":"https://api.github.com/users/jbagga/orgs","repos_url":"https://api.github.com/users/jbagga/repos","events_url":"https://api.github.com/users/jbagga/events{/privacy}","received_events_url":"https://api.github.com/users/jbagga/received_events","type":"User","site_admin":false},"assignees":[{"login":"jbagga","id":6234561,"avatar_url":"https://avatars.githubusercontent.com/u/6234561?v=3","gravatar_id":"","url":"https://api.github.com/users/jbagga","html_url":"https://github.com/jbagga","followers_url":"https://api.github.com/users/jbagga/followers","following_url":"https://api.github.com/users/jbagga/following{/other_user}","gists_url":"https://api.github.com/users/jbagga/gists{/gist_id}","starred_url":"https://api.github.com/users/jbagga/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbagga/subscriptions","organizations_url":"https://api.github.com/users/jbagga/orgs","repos_url":"https://api.github.com/users/jbagga/repos","events_url":"https://api.github.com/users/jbagga/events{/privacy}","received_events_url":"https://api.github.com/users/jbagga/received_events","type":"User","site_admin":false},{"login":"kichalla","id":6559784,"avatar_url":"https://avatars.githubusercontent.com/u/6559784?v=3","gravatar_id":"","url":"https://api.github.com/users/kichalla","html_url":"https://github.com/kichalla","followers_url":"https://api.github.com/users/kichalla/followers","following_url":"https://api.github.com/users/kichalla/following{/other_user}","gists_url":"https://api.github.com/users/kichalla/gists{/gist_id}","starred_url":"https://api.github.com/users/kichalla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kichalla/subscriptions","organizations_url":"https://api.github.com/users/kichalla/orgs","repos_url":"https://api.github.com/users/kichalla/repos","events_url":"https://api.github.com/users/kichalla/events{/privacy}","received_events_url":"https://api.github.com/users/kichalla/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-11-01T22:45:45Z","updated_at":"2016-11-28T20:28:21Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/aspnet/CORS/pulls/94","html_url":"https://github.com/aspnet/CORS/pull/94","diff_url":"https://github.com/aspnet/CORS/pull/94.diff","patch_url":"https://github.com/aspnet/CORS/pull/94.patch"},"body":"As per discussions in #75 and #89 this PR add an `IsOriginAllowed` property to the `CorsPolicy`. This allows clients the ability to configure the policy with an arbitrary function that evaluates whether a given origin should be allowed.\r\n\r\nAlso added `CorsPolicyBuilder.AllowWildcardSubdomains` which configures the `CorsPolicy` with a `IsOriginAllowed` function that checks whether the given origin is a subdomain of any origins on the policy that contain a wildcarded subdomain."},"comment":{"url":"https://api.github.com/repos/aspnet/CORS/issues/comments/263384676","html_url":"https://github.com/aspnet/CORS/pull/94#issuecomment-263384676","issue_url":"https://api.github.com/repos/aspnet/CORS/issues/94","id":263384676,"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":"2016-11-28T20:28:21Z","updated_at":"2016-11-28T20:28:21Z","body":"@jbagga if you and @kichalla are good with this, please merge the PR."}}
{"actor":{"display_login":"Eilon"}}