{"action":"closed","number":62,"pull_request":{"url":"https://api.github.com/repos/michield/phplist/pulls/62","id":28413284,"html_url":"https://github.com/michield/phplist/pull/62","diff_url":"https://github.com/michield/phplist/pull/62.diff","patch_url":"https://github.com/michield/phplist/pull/62.patch","issue_url":"https://api.github.com/repos/michield/phplist/issues/62","number":62,"state":"closed","locked":false,"title":"Remove port from HTTP_HOST header in referer check","user":{"login":"alambike","id":1025564,"avatar_url":"https://avatars.githubusercontent.com/u/1025564?v=3","gravatar_id":"","url":"https://api.github.com/users/alambike","html_url":"https://github.com/alambike","followers_url":"https://api.github.com/users/alambike/followers","following_url":"https://api.github.com/users/alambike/following{/other_user}","gists_url":"https://api.github.com/users/alambike/gists{/gist_id}","starred_url":"https://api.github.com/users/alambike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alambike/subscriptions","organizations_url":"https://api.github.com/users/alambike/orgs","repos_url":"https://api.github.com/users/alambike/repos","events_url":"https://api.github.com/users/alambike/events{/privacy}","received_events_url":"https://api.github.com/users/alambike/received_events","type":"User","site_admin":false},"body":"If virtual host of phplist installation isn't in default port 80, the HTTP_HOST var contains the port too, so referer check fails. \r\nTrim port from HTTP_HOST solves the issue.","created_at":"2015-01-31T10:49:40Z","updated_at":"2015-03-11T20:14:59Z","closed_at":"2015-03-11T20:14:59Z","merged_at":"2015-03-11T20:14:59Z","merge_commit_sha":"cdba803707fc539daae2ab8e408da58c73100d70","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/michield/phplist/pulls/62/commits","review_comments_url":"https://api.github.com/repos/michield/phplist/pulls/62/comments","review_comment_url":"https://api.github.com/repos/michield/phplist/pulls/comments{/number}","comments_url":"https://api.github.com/repos/michield/phplist/issues/62/comments","statuses_url":"https://api.github.com/repos/michield/phplist/statuses/7213a213d1641537efef9c9f67ecfeb677b1c450","head":{"label":"alambike:patch-2","ref":"patch-2","sha":"7213a213d1641537efef9c9f67ecfeb677b1c450","user":{"login":"alambike","id":1025564,"avatar_url":"https://avatars.githubusercontent.com/u/1025564?v=3","gravatar_id":"","url":"https://api.github.com/users/alambike","html_url":"https://github.com/alambike","followers_url":"https://api.github.com/users/alambike/followers","following_url":"https://api.github.com/users/alambike/following{/other_user}","gists_url":"https://api.github.com/users/alambike/gists{/gist_id}","starred_url":"https://api.github.com/users/alambike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alambike/subscriptions","organizations_url":"https://api.github.com/users/alambike/orgs","repos_url":"https://api.github.com/users/alambike/repos","events_url":"https://api.github.com/users/alambike/events{/privacy}","received_events_url":"https://api.github.com/users/alambike/received_events","type":"User","site_admin":false},"repo":{"id":29975903,"name":"phplist","full_name":"alambike/phplist","owner":{"login":"alambike","id":1025564,"avatar_url":"https://avatars.githubusercontent.com/u/1025564?v=3","gravatar_id":"","url":"https://api.github.com/users/alambike","html_url":"https://github.com/alambike","followers_url":"https://api.github.com/users/alambike/followers","following_url":"https://api.github.com/users/alambike/following{/other_user}","gists_url":"https://api.github.com/users/alambike/gists{/gist_id}","starred_url":"https://api.github.com/users/alambike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alambike/subscriptions","organizations_url":"https://api.github.com/users/alambike/orgs","repos_url":"https://api.github.com/users/alambike/repos","events_url":"https://api.github.com/users/alambike/events{/privacy}","received_events_url":"https://api.github.com/users/alambike/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alambike/phplist","description":"open source newsletter manager","fork":true,"url":"https://api.github.com/repos/alambike/phplist","forks_url":"https://api.github.com/repos/alambike/phplist/forks","keys_url":"https://api.github.com/repos/alambike/phplist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alambike/phplist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alambike/phplist/teams","hooks_url":"https://api.github.com/repos/alambike/phplist/hooks","issue_events_url":"https://api.github.com/repos/alambike/phplist/issues/events{/number}","events_url":"https://api.github.com/repos/alambike/phplist/events","assignees_url":"https://api.github.com/repos/alambike/phplist/assignees{/user}","branches_url":"https://api.github.com/repos/alambike/phplist/branches{/branch}","tags_url":"https://api.github.com/repos/alambike/phplist/tags","blobs_url":"https://api.github.com/repos/alambike/phplist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alambike/phplist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alambike/phplist/git/refs{/sha}","trees_url":"https://api.github.com/repos/alambike/phplist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alambike/phplist/statuses/{sha}","languages_url":"https://api.github.com/repos/alambike/phplist/languages","stargazers_url":"https://api.github.com/repos/alambike/phplist/stargazers","contributors_url":"https://api.github.com/repos/alambike/phplist/contributors","subscribers_url":"https://api.github.com/repos/alambike/phplist/subscribers","subscription_url":"https://api.github.com/repos/alambike/phplist/subscription","commits_url":"https://api.github.com/repos/alambike/phplist/commits{/sha}","git_commits_url":"https://api.github.com/repos/alambike/phplist/git/commits{/sha}","comments_url":"https://api.github.com/repos/alambike/phplist/comments{/number}","issue_comment_url":"https://api.github.com/repos/alambike/phplist/issues/comments{/number}","contents_url":"https://api.github.com/repos/alambike/phplist/contents/{+path}","compare_url":"https://api.github.com/repos/alambike/phplist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alambike/phplist/merges","archive_url":"https://api.github.com/repos/alambike/phplist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alambike/phplist/downloads","issues_url":"https://api.github.com/repos/alambike/phplist/issues{/number}","pulls_url":"https://api.github.com/repos/alambike/phplist/pulls{/number}","milestones_url":"https://api.github.com/repos/alambike/phplist/milestones{/number}","notifications_url":"https://api.github.com/repos/alambike/phplist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alambike/phplist/labels{/name}","releases_url":"https://api.github.com/repos/alambike/phplist/releases{/id}","created_at":"2015-01-28T16:12:23Z","updated_at":"2015-01-28T16:12:24Z","pushed_at":"2015-02-08T21:18:51Z","git_url":"git://github.com/alambike/phplist.git","ssh_url":"git@github.com:alambike/phplist.git","clone_url":"https://github.com/alambike/phplist.git","svn_url":"https://github.com/alambike/phplist","homepage":null,"size":16795,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"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":"master"}},"base":{"label":"michield:master","ref":"master","sha":"66e0e86ecfd1e5c203291b5ec42884d2ad3f88c0","user":{"login":"michield","id":569843,"avatar_url":"https://avatars.githubusercontent.com/u/569843?v=3","gravatar_id":"","url":"https://api.github.com/users/michield","html_url":"https://github.com/michield","followers_url":"https://api.github.com/users/michield/followers","following_url":"https://api.github.com/users/michield/following{/other_user}","gists_url":"https://api.github.com/users/michield/gists{/gist_id}","starred_url":"https://api.github.com/users/michield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michield/subscriptions","organizations_url":"https://api.github.com/users/michield/orgs","repos_url":"https://api.github.com/users/michield/repos","events_url":"https://api.github.com/users/michield/events{/privacy}","received_events_url":"https://api.github.com/users/michield/received_events","type":"User","site_admin":false},"repo":{"id":9672130,"name":"phplist","full_name":"michield/phplist","owner":{"login":"michield","id":569843,"avatar_url":"https://avatars.githubusercontent.com/u/569843?v=3","gravatar_id":"","url":"https://api.github.com/users/michield","html_url":"https://github.com/michield","followers_url":"https://api.github.com/users/michield/followers","following_url":"https://api.github.com/users/michield/following{/other_user}","gists_url":"https://api.github.com/users/michield/gists{/gist_id}","starred_url":"https://api.github.com/users/michield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michield/subscriptions","organizations_url":"https://api.github.com/users/michield/orgs","repos_url":"https://api.github.com/users/michield/repos","events_url":"https://api.github.com/users/michield/events{/privacy}","received_events_url":"https://api.github.com/users/michield/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/michield/phplist","description":"open source newsletter manager","fork":false,"url":"https://api.github.com/repos/michield/phplist","forks_url":"https://api.github.com/repos/michield/phplist/forks","keys_url":"https://api.github.com/repos/michield/phplist/keys{/key_id}","collaborators_url":"https://api.github.com/repos/michield/phplist/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/michield/phplist/teams","hooks_url":"https://api.github.com/repos/michield/phplist/hooks","issue_events_url":"https://api.github.com/repos/michield/phplist/issues/events{/number}","events_url":"https://api.github.com/repos/michield/phplist/events","assignees_url":"https://api.github.com/repos/michield/phplist/assignees{/user}","branches_url":"https://api.github.com/repos/michield/phplist/branches{/branch}","tags_url":"https://api.github.com/repos/michield/phplist/tags","blobs_url":"https://api.github.com/repos/michield/phplist/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/michield/phplist/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/michield/phplist/git/refs{/sha}","trees_url":"https://api.github.com/repos/michield/phplist/git/trees{/sha}","statuses_url":"https://api.github.com/repos/michield/phplist/statuses/{sha}","languages_url":"https://api.github.com/repos/michield/phplist/languages","stargazers_url":"https://api.github.com/repos/michield/phplist/stargazers","contributors_url":"https://api.github.com/repos/michield/phplist/contributors","subscribers_url":"https://api.github.com/repos/michield/phplist/subscribers","subscription_url":"https://api.github.com/repos/michield/phplist/subscription","commits_url":"https://api.github.com/repos/michield/phplist/commits{/sha}","git_commits_url":"https://api.github.com/repos/michield/phplist/git/commits{/sha}","comments_url":"https://api.github.com/repos/michield/phplist/comments{/number}","issue_comment_url":"https://api.github.com/repos/michield/phplist/issues/comments{/number}","contents_url":"https://api.github.com/repos/michield/phplist/contents/{+path}","compare_url":"https://api.github.com/repos/michield/phplist/compare/{base}...{head}","merges_url":"https://api.github.com/repos/michield/phplist/merges","archive_url":"https://api.github.com/repos/michield/phplist/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/michield/phplist/downloads","issues_url":"https://api.github.com/repos/michield/phplist/issues{/number}","pulls_url":"https://api.github.com/repos/michield/phplist/pulls{/number}","milestones_url":"https://api.github.com/repos/michield/phplist/milestones{/number}","notifications_url":"https://api.github.com/repos/michield/phplist/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/michield/phplist/labels{/name}","releases_url":"https://api.github.com/repos/michield/phplist/releases{/id}","created_at":"2013-04-25T13:19:26Z","updated_at":"2015-03-11T20:14:59Z","pushed_at":"2015-03-11T20:14:59Z","git_url":"git://github.com/michield/phplist.git","ssh_url":"git@github.com:michield/phplist.git","clone_url":"https://github.com/michield/phplist.git","svn_url":"https://github.com/michield/phplist","homepage":null,"size":21103,"stargazers_count":54,"watchers_count":54,"language":"Gettext Catalog","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":55,"mirror_url":null,"open_issues_count":2,"forks":55,"open_issues":2,"watchers":54,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/michield/phplist/pulls/62"},"html":{"href":"https://github.com/michield/phplist/pull/62"},"issue":{"href":"https://api.github.com/repos/michield/phplist/issues/62"},"comments":{"href":"https://api.github.com/repos/michield/phplist/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/michield/phplist/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/michield/phplist/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/michield/phplist/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/michield/phplist/statuses/7213a213d1641537efef9c9f67ecfeb677b1c450"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"michield","id":569843,"avatar_url":"https://avatars.githubusercontent.com/u/569843?v=3","gravatar_id":"","url":"https://api.github.com/users/michield","html_url":"https://github.com/michield","followers_url":"https://api.github.com/users/michield/followers","following_url":"https://api.github.com/users/michield/following{/other_user}","gists_url":"https://api.github.com/users/michield/gists{/gist_id}","starred_url":"https://api.github.com/users/michield/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/michield/subscriptions","organizations_url":"https://api.github.com/users/michield/orgs","repos_url":"https://api.github.com/users/michield/repos","events_url":"https://api.github.com/users/michield/events{/privacy}","received_events_url":"https://api.github.com/users/michield/received_events","type":"User","site_admin":false},"comments":8,"review_comments":0,"commits":2,"additions":2,"deletions":1,"changed_files":1}}