{"action":"created","issue":{"url":"https://api.github.com/repos/magento/magento2/issues/1546","labels_url":"https://api.github.com/repos/magento/magento2/issues/1546/labels{/name}","comments_url":"https://api.github.com/repos/magento/magento2/issues/1546/comments","events_url":"https://api.github.com/repos/magento/magento2/issues/1546/events","html_url":"https://github.com/magento/magento2/pull/1546","id":96774762,"number":1546,"title":"Set getRemoteAddress to detect comma seperated RFC 7239 lists","user":{"login":"IcyApril","id":2026099,"avatar_url":"https://avatars.githubusercontent.com/u/2026099?v=3","gravatar_id":"","url":"https://api.github.com/users/IcyApril","html_url":"https://github.com/IcyApril","followers_url":"https://api.github.com/users/IcyApril/followers","following_url":"https://api.github.com/users/IcyApril/following{/other_user}","gists_url":"https://api.github.com/users/IcyApril/gists{/gist_id}","starred_url":"https://api.github.com/users/IcyApril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IcyApril/subscriptions","organizations_url":"https://api.github.com/users/IcyApril/orgs","repos_url":"https://api.github.com/users/IcyApril/repos","events_url":"https://api.github.com/users/IcyApril/events{/privacy}","received_events_url":"https://api.github.com/users/IcyApril/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magento/magento2/labels/needs%20update","name":"needs update","color":"eb6420"},{"url":"https://api.github.com/repos/magento/magento2/labels/PS","name":"PS","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-23T09:54:08Z","updated_at":"2015-09-27T00:53:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/magento/magento2/pulls/1546","html_url":"https://github.com/magento/magento2/pull/1546","diff_url":"https://github.com/magento/magento2/pull/1546.diff","patch_url":"https://github.com/magento/magento2/pull/1546.patch"},"body":" RFC 7239 allows comma separated X-Forwarded-For headers. This modification ensures in the event the getRemoteAddress gets one via the alternativeHeaders variable, the correct client IP can be returned. This is done by getting the first IP in the list after detecting for a comma separated IP list."},"comment":{"url":"https://api.github.com/repos/magento/magento2/issues/comments/143507552","html_url":"https://github.com/magento/magento2/pull/1546#issuecomment-143507552","issue_url":"https://api.github.com/repos/magento/magento2/issues/1546","id":143507552,"user":{"login":"IcyApril","id":2026099,"avatar_url":"https://avatars.githubusercontent.com/u/2026099?v=3","gravatar_id":"","url":"https://api.github.com/users/IcyApril","html_url":"https://github.com/IcyApril","followers_url":"https://api.github.com/users/IcyApril/followers","following_url":"https://api.github.com/users/IcyApril/following{/other_user}","gists_url":"https://api.github.com/users/IcyApril/gists{/gist_id}","starred_url":"https://api.github.com/users/IcyApril/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IcyApril/subscriptions","organizations_url":"https://api.github.com/users/IcyApril/orgs","repos_url":"https://api.github.com/users/IcyApril/repos","events_url":"https://api.github.com/users/IcyApril/events{/privacy}","received_events_url":"https://api.github.com/users/IcyApril/received_events","type":"User","site_admin":false},"created_at":"2015-09-27T00:53:39Z","updated_at":"2015-09-27T00:53:39Z","body":"There is an alternativeHeaders field in the event REMOTE_ADDR; we must account for the fact this may be a comma separated list."}}