{"action":"closed","issue":{"url":"https://api.github.com/repos/hivesolutions/appier/issues/14","repository_url":"https://api.github.com/repos/hivesolutions/appier","labels_url":"https://api.github.com/repos/hivesolutions/appier/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/hivesolutions/appier/issues/14/comments","events_url":"https://api.github.com/repos/hivesolutions/appier/issues/14/events","html_url":"https://github.com/hivesolutions/appier/issues/14","id":175250951,"number":14,"title":"When X-Forwarded-For is presetn, get_address returns the whole list of IPs","user":{"login":"pmarques","id":441283,"avatar_url":"https://avatars.githubusercontent.com/u/441283?v=3","gravatar_id":"","url":"https://api.github.com/users/pmarques","html_url":"https://github.com/pmarques","followers_url":"https://api.github.com/users/pmarques/followers","following_url":"https://api.github.com/users/pmarques/following{/other_user}","gists_url":"https://api.github.com/users/pmarques/gists{/gist_id}","starred_url":"https://api.github.com/users/pmarques/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmarques/subscriptions","organizations_url":"https://api.github.com/users/pmarques/orgs","repos_url":"https://api.github.com/users/pmarques/repos","events_url":"https://api.github.com/users/pmarques/events{/privacy}","received_events_url":"https://api.github.com/users/pmarques/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-06T13:45:15Z","updated_at":"2016-09-06T14:32:19Z","closed_at":"2016-09-06T14:32:19Z","body":"The [get_address](https://github.com/hivesolutions/appier/blob/e09ef4b9bf373fcfb455db83ece563bb28655591/src/appier/request.py#L376) method needs to parse the X-Forwarded-For header and return only the first one.\r\nIt also needs to check if other headers are used, at least **x-real-ip** and **x-client-ip**.\r\n\r\nThis is critical to run applications behind proxies.\r\n"}}
{"actor":{"display_login":"joamag"}}