{"action":"opened","number":253,"pull_request":{"url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/253","id":131282097,"html_url":"https://github.com/aspnet/BasicMiddleware/pull/253","diff_url":"https://github.com/aspnet/BasicMiddleware/pull/253.diff","patch_url":"https://github.com/aspnet/BasicMiddleware/pull/253.patch","issue_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/253","number":253,"state":"open","locked":false,"title":"Add option to add additional forwarders to ForwardedHeadersMiddleware","user":{"login":"YvonneArnoldus","id":4621459,"avatar_url":"https://avatars3.githubusercontent.com/u/4621459?v=4","gravatar_id":"","url":"https://api.github.com/users/YvonneArnoldus","html_url":"https://github.com/YvonneArnoldus","followers_url":"https://api.github.com/users/YvonneArnoldus/followers","following_url":"https://api.github.com/users/YvonneArnoldus/following{/other_user}","gists_url":"https://api.github.com/users/YvonneArnoldus/gists{/gist_id}","starred_url":"https://api.github.com/users/YvonneArnoldus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvonneArnoldus/subscriptions","organizations_url":"https://api.github.com/users/YvonneArnoldus/orgs","repos_url":"https://api.github.com/users/YvonneArnoldus/repos","events_url":"https://api.github.com/users/YvonneArnoldus/events{/privacy}","received_events_url":"https://api.github.com/users/YvonneArnoldus/received_events","type":"User","site_admin":false},"body":"**Problem**: Not all webservers seem to use the default ForwardedHeaders (X-Forwarded-For, X-Forwarded-Host and X-Forwarded-Proto) but use their own headers. \r\n\r\n**Example**: Azure doesn't the X-Forwarded-Proto header when SSL is used but you need to check the content of X-ARR-SSL to see if https is used.\r\n\r\nBy making it possible to add additional forwarders to the ForwardedHeadersMiddleware you can use this Middleware for all webservers without the need to create your own custom middleware to catch the webserver that have their own headers.\r\n\r\n\r\n\r\n\r\n","created_at":"2017-07-19T10:00:21Z","updated_at":"2017-07-19T10:00:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/253/commits","review_comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/253/comments","review_comment_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/comments{/number}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/253/comments","statuses_url":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/3655e2e6c0ec545295ec465be57d042f166169c3","head":{"label":"YvonneArnoldus:additionalforwarders","ref":"additionalforwarders","sha":"3655e2e6c0ec545295ec465be57d042f166169c3","user":{"login":"YvonneArnoldus","id":4621459,"avatar_url":"https://avatars3.githubusercontent.com/u/4621459?v=4","gravatar_id":"","url":"https://api.github.com/users/YvonneArnoldus","html_url":"https://github.com/YvonneArnoldus","followers_url":"https://api.github.com/users/YvonneArnoldus/followers","following_url":"https://api.github.com/users/YvonneArnoldus/following{/other_user}","gists_url":"https://api.github.com/users/YvonneArnoldus/gists{/gist_id}","starred_url":"https://api.github.com/users/YvonneArnoldus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvonneArnoldus/subscriptions","organizations_url":"https://api.github.com/users/YvonneArnoldus/orgs","repos_url":"https://api.github.com/users/YvonneArnoldus/repos","events_url":"https://api.github.com/users/YvonneArnoldus/events{/privacy}","received_events_url":"https://api.github.com/users/YvonneArnoldus/received_events","type":"User","site_admin":false},"repo":{"id":95753637,"name":"BasicMiddleware","full_name":"YvonneArnoldus/BasicMiddleware","owner":{"login":"YvonneArnoldus","id":4621459,"avatar_url":"https://avatars3.githubusercontent.com/u/4621459?v=4","gravatar_id":"","url":"https://api.github.com/users/YvonneArnoldus","html_url":"https://github.com/YvonneArnoldus","followers_url":"https://api.github.com/users/YvonneArnoldus/followers","following_url":"https://api.github.com/users/YvonneArnoldus/following{/other_user}","gists_url":"https://api.github.com/users/YvonneArnoldus/gists{/gist_id}","starred_url":"https://api.github.com/users/YvonneArnoldus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YvonneArnoldus/subscriptions","organizations_url":"https://api.github.com/users/YvonneArnoldus/orgs","repos_url":"https://api.github.com/users/YvonneArnoldus/repos","events_url":"https://api.github.com/users/YvonneArnoldus/events{/privacy}","received_events_url":"https://api.github.com/users/YvonneArnoldus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YvonneArnoldus/BasicMiddleware","description":"Basic middleware components for ASP.NET Core","fork":true,"url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware","forks_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/forks","keys_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/teams","hooks_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/hooks","issue_events_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/issues/events{/number}","events_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/events","assignees_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/assignees{/user}","branches_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/branches{/branch}","tags_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/tags","blobs_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/git/refs{/sha}","trees_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/statuses/{sha}","languages_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/languages","stargazers_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/stargazers","contributors_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/contributors","subscribers_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/subscribers","subscription_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/subscription","commits_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/commits{/sha}","git_commits_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/git/commits{/sha}","comments_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/comments{/number}","issue_comment_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/issues/comments{/number}","contents_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/contents/{+path}","compare_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/merges","archive_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/downloads","issues_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/issues{/number}","pulls_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/pulls{/number}","milestones_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/milestones{/number}","notifications_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/labels{/name}","releases_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/releases{/id}","deployments_url":"https://api.github.com/repos/YvonneArnoldus/BasicMiddleware/deployments","created_at":"2017-06-29T08:03:02Z","updated_at":"2017-06-29T08:03:04Z","pushed_at":"2017-07-19T08:34:04Z","git_url":"git://github.com/YvonneArnoldus/BasicMiddleware.git","ssh_url":"git@github.com:YvonneArnoldus/BasicMiddleware.git","clone_url":"https://github.com/YvonneArnoldus/BasicMiddleware.git","svn_url":"https://github.com/YvonneArnoldus/BasicMiddleware","homepage":"","size":603,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"dev"}},"base":{"label":"aspnet:dev","ref":"dev","sha":"13dff802e1d204fbd24ea9e675d48b15bd4c7f77","user":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"repo":{"id":38068840,"name":"BasicMiddleware","full_name":"aspnet/BasicMiddleware","owner":{"login":"aspnet","id":6476660,"avatar_url":"https://avatars3.githubusercontent.com/u/6476660?v=4","gravatar_id":"","url":"https://api.github.com/users/aspnet","html_url":"https://github.com/aspnet","followers_url":"https://api.github.com/users/aspnet/followers","following_url":"https://api.github.com/users/aspnet/following{/other_user}","gists_url":"https://api.github.com/users/aspnet/gists{/gist_id}","starred_url":"https://api.github.com/users/aspnet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aspnet/subscriptions","organizations_url":"https://api.github.com/users/aspnet/orgs","repos_url":"https://api.github.com/users/aspnet/repos","events_url":"https://api.github.com/users/aspnet/events{/privacy}","received_events_url":"https://api.github.com/users/aspnet/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/aspnet/BasicMiddleware","description":"Basic middleware components for ASP.NET Core","fork":false,"url":"https://api.github.com/repos/aspnet/BasicMiddleware","forks_url":"https://api.github.com/repos/aspnet/BasicMiddleware/forks","keys_url":"https://api.github.com/repos/aspnet/BasicMiddleware/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aspnet/BasicMiddleware/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aspnet/BasicMiddleware/teams","hooks_url":"https://api.github.com/repos/aspnet/BasicMiddleware/hooks","issue_events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/events{/number}","events_url":"https://api.github.com/repos/aspnet/BasicMiddleware/events","assignees_url":"https://api.github.com/repos/aspnet/BasicMiddleware/assignees{/user}","branches_url":"https://api.github.com/repos/aspnet/BasicMiddleware/branches{/branch}","tags_url":"https://api.github.com/repos/aspnet/BasicMiddleware/tags","blobs_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/refs{/sha}","trees_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/{sha}","languages_url":"https://api.github.com/repos/aspnet/BasicMiddleware/languages","stargazers_url":"https://api.github.com/repos/aspnet/BasicMiddleware/stargazers","contributors_url":"https://api.github.com/repos/aspnet/BasicMiddleware/contributors","subscribers_url":"https://api.github.com/repos/aspnet/BasicMiddleware/subscribers","subscription_url":"https://api.github.com/repos/aspnet/BasicMiddleware/subscription","commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/commits{/sha}","git_commits_url":"https://api.github.com/repos/aspnet/BasicMiddleware/git/commits{/sha}","comments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/comments{/number}","issue_comment_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/comments{/number}","contents_url":"https://api.github.com/repos/aspnet/BasicMiddleware/contents/{+path}","compare_url":"https://api.github.com/repos/aspnet/BasicMiddleware/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aspnet/BasicMiddleware/merges","archive_url":"https://api.github.com/repos/aspnet/BasicMiddleware/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aspnet/BasicMiddleware/downloads","issues_url":"https://api.github.com/repos/aspnet/BasicMiddleware/issues{/number}","pulls_url":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls{/number}","milestones_url":"https://api.github.com/repos/aspnet/BasicMiddleware/milestones{/number}","notifications_url":"https://api.github.com/repos/aspnet/BasicMiddleware/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aspnet/BasicMiddleware/labels{/name}","releases_url":"https://api.github.com/repos/aspnet/BasicMiddleware/releases{/id}","deployments_url":"https://api.github.com/repos/aspnet/BasicMiddleware/deployments","created_at":"2015-06-25T19:15:27Z","updated_at":"2017-07-06T11:55:04Z","pushed_at":"2017-07-10T23:43:55Z","git_url":"git://github.com/aspnet/BasicMiddleware.git","ssh_url":"git@github.com:aspnet/BasicMiddleware.git","clone_url":"https://github.com/aspnet/BasicMiddleware.git","svn_url":"https://github.com/aspnet/BasicMiddleware","homepage":"","size":604,"stargazers_count":87,"watchers_count":87,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":31,"mirror_url":null,"open_issues_count":47,"forks":31,"open_issues":47,"watchers":87,"default_branch":"dev"}},"_links":{"self":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/253"},"html":{"href":"https://github.com/aspnet/BasicMiddleware/pull/253"},"issue":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/253"},"comments":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/issues/253/comments"},"review_comments":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/253/comments"},"review_comment":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/pulls/253/commits"},"statuses":{"href":"https://api.github.com/repos/aspnet/BasicMiddleware/statuses/3655e2e6c0ec545295ec465be57d042f166169c3"}},"merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":7,"additions":486,"deletions":315,"changed_files":26}}
{"actor":{"display_login":"YvonneArnoldus"}}