{"action":"opened","number":9,"pull_request":{"url":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/9","id":57061276,"html_url":"https://github.com/CpanelInc/publicapi-php/pull/9","diff_url":"https://github.com/CpanelInc/publicapi-php/pull/9.diff","patch_url":"https://github.com/CpanelInc/publicapi-php/pull/9.patch","issue_url":"https://api.github.com/repos/CpanelInc/publicapi-php/issues/9","number":9,"state":"open","locked":false,"title":"Fix curl calls","user":{"login":"claudiapetre","id":10802112,"avatar_url":"https://avatars.githubusercontent.com/u/10802112?v=3","gravatar_id":"","url":"https://api.github.com/users/claudiapetre","html_url":"https://github.com/claudiapetre","followers_url":"https://api.github.com/users/claudiapetre/followers","following_url":"https://api.github.com/users/claudiapetre/following{/other_user}","gists_url":"https://api.github.com/users/claudiapetre/gists{/gist_id}","starred_url":"https://api.github.com/users/claudiapetre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claudiapetre/subscriptions","organizations_url":"https://api.github.com/users/claudiapetre/orgs","repos_url":"https://api.github.com/users/claudiapetre/repos","events_url":"https://api.github.com/users/claudiapetre/events{/privacy}","received_events_url":"https://api.github.com/users/claudiapetre/received_events","type":"User","site_admin":false},"body":"Version 54 of aPanel is more restrictive regarding data sent in curl headers. The old approach which was sending all data in headers separated by \\r\\n couldn't be interpreted by cPanel API and all data was returned without being filtered. This was a security issue.","created_at":"2016-01-25T11:52:43Z","updated_at":"2016-01-25T11:52:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/9/commits","review_comments_url":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/9/comments","review_comment_url":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CpanelInc/publicapi-php/issues/9/comments","statuses_url":"https://api.github.com/repos/CpanelInc/publicapi-php/statuses/541e6bd12e9834befde8c8c1a57857d2d7bf90da","head":{"label":"SpamExperts:master","ref":"master","sha":"541e6bd12e9834befde8c8c1a57857d2d7bf90da","user":{"login":"SpamExperts","id":7713176,"avatar_url":"https://avatars.githubusercontent.com/u/7713176?v=3","gravatar_id":"","url":"https://api.github.com/users/SpamExperts","html_url":"https://github.com/SpamExperts","followers_url":"https://api.github.com/users/SpamExperts/followers","following_url":"https://api.github.com/users/SpamExperts/following{/other_user}","gists_url":"https://api.github.com/users/SpamExperts/gists{/gist_id}","starred_url":"https://api.github.com/users/SpamExperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpamExperts/subscriptions","organizations_url":"https://api.github.com/users/SpamExperts/orgs","repos_url":"https://api.github.com/users/SpamExperts/repos","events_url":"https://api.github.com/users/SpamExperts/events{/privacy}","received_events_url":"https://api.github.com/users/SpamExperts/received_events","type":"Organization","site_admin":false},"repo":{"id":50189086,"name":"publicapi-php","full_name":"SpamExperts/publicapi-php","owner":{"login":"SpamExperts","id":7713176,"avatar_url":"https://avatars.githubusercontent.com/u/7713176?v=3","gravatar_id":"","url":"https://api.github.com/users/SpamExperts","html_url":"https://github.com/SpamExperts","followers_url":"https://api.github.com/users/SpamExperts/followers","following_url":"https://api.github.com/users/SpamExperts/following{/other_user}","gists_url":"https://api.github.com/users/SpamExperts/gists{/gist_id}","starred_url":"https://api.github.com/users/SpamExperts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SpamExperts/subscriptions","organizations_url":"https://api.github.com/users/SpamExperts/orgs","repos_url":"https://api.github.com/users/SpamExperts/repos","events_url":"https://api.github.com/users/SpamExperts/events{/privacy}","received_events_url":"https://api.github.com/users/SpamExperts/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SpamExperts/publicapi-php","description":"cPanel PublicAPI PHP client and cPanel PHP library","fork":true,"url":"https://api.github.com/repos/SpamExperts/publicapi-php","forks_url":"https://api.github.com/repos/SpamExperts/publicapi-php/forks","keys_url":"https://api.github.com/repos/SpamExperts/publicapi-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SpamExperts/publicapi-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SpamExperts/publicapi-php/teams","hooks_url":"https://api.github.com/repos/SpamExperts/publicapi-php/hooks","issue_events_url":"https://api.github.com/repos/SpamExperts/publicapi-php/issues/events{/number}","events_url":"https://api.github.com/repos/SpamExperts/publicapi-php/events","assignees_url":"https://api.github.com/repos/SpamExperts/publicapi-php/assignees{/user}","branches_url":"https://api.github.com/repos/SpamExperts/publicapi-php/branches{/branch}","tags_url":"https://api.github.com/repos/SpamExperts/publicapi-php/tags","blobs_url":"https://api.github.com/repos/SpamExperts/publicapi-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SpamExperts/publicapi-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SpamExperts/publicapi-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/SpamExperts/publicapi-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SpamExperts/publicapi-php/statuses/{sha}","languages_url":"https://api.github.com/repos/SpamExperts/publicapi-php/languages","stargazers_url":"https://api.github.com/repos/SpamExperts/publicapi-php/stargazers","contributors_url":"https://api.github.com/repos/SpamExperts/publicapi-php/contributors","subscribers_url":"https://api.github.com/repos/SpamExperts/publicapi-php/subscribers","subscription_url":"https://api.github.com/repos/SpamExperts/publicapi-php/subscription","commits_url":"https://api.github.com/repos/SpamExperts/publicapi-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/SpamExperts/publicapi-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/SpamExperts/publicapi-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/SpamExperts/publicapi-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/SpamExperts/publicapi-php/contents/{+path}","compare_url":"https://api.github.com/repos/SpamExperts/publicapi-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SpamExperts/publicapi-php/merges","archive_url":"https://api.github.com/repos/SpamExperts/publicapi-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SpamExperts/publicapi-php/downloads","issues_url":"https://api.github.com/repos/SpamExperts/publicapi-php/issues{/number}","pulls_url":"https://api.github.com/repos/SpamExperts/publicapi-php/pulls{/number}","milestones_url":"https://api.github.com/repos/SpamExperts/publicapi-php/milestones{/number}","notifications_url":"https://api.github.com/repos/SpamExperts/publicapi-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SpamExperts/publicapi-php/labels{/name}","releases_url":"https://api.github.com/repos/SpamExperts/publicapi-php/releases{/id}","deployments_url":"https://api.github.com/repos/SpamExperts/publicapi-php/deployments","created_at":"2016-01-22T15:21:15Z","updated_at":"2016-01-22T15:21:16Z","pushed_at":"2016-01-25T11:46:16Z","git_url":"git://github.com/SpamExperts/publicapi-php.git","ssh_url":"git@github.com:SpamExperts/publicapi-php.git","clone_url":"https://github.com/SpamExperts/publicapi-php.git","svn_url":"https://github.com/SpamExperts/publicapi-php","homepage":"","size":168,"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":"CpanelInc:master","ref":"master","sha":"bb8c7b9a083a6aa8a05cd889d1a1e09bf7bc3349","user":{"login":"CpanelInc","id":549400,"avatar_url":"https://avatars.githubusercontent.com/u/549400?v=3","gravatar_id":"","url":"https://api.github.com/users/CpanelInc","html_url":"https://github.com/CpanelInc","followers_url":"https://api.github.com/users/CpanelInc/followers","following_url":"https://api.github.com/users/CpanelInc/following{/other_user}","gists_url":"https://api.github.com/users/CpanelInc/gists{/gist_id}","starred_url":"https://api.github.com/users/CpanelInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CpanelInc/subscriptions","organizations_url":"https://api.github.com/users/CpanelInc/orgs","repos_url":"https://api.github.com/users/CpanelInc/repos","events_url":"https://api.github.com/users/CpanelInc/events{/privacy}","received_events_url":"https://api.github.com/users/CpanelInc/received_events","type":"Organization","site_admin":false},"repo":{"id":1564817,"name":"publicapi-php","full_name":"CpanelInc/publicapi-php","owner":{"login":"CpanelInc","id":549400,"avatar_url":"https://avatars.githubusercontent.com/u/549400?v=3","gravatar_id":"","url":"https://api.github.com/users/CpanelInc","html_url":"https://github.com/CpanelInc","followers_url":"https://api.github.com/users/CpanelInc/followers","following_url":"https://api.github.com/users/CpanelInc/following{/other_user}","gists_url":"https://api.github.com/users/CpanelInc/gists{/gist_id}","starred_url":"https://api.github.com/users/CpanelInc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CpanelInc/subscriptions","organizations_url":"https://api.github.com/users/CpanelInc/orgs","repos_url":"https://api.github.com/users/CpanelInc/repos","events_url":"https://api.github.com/users/CpanelInc/events{/privacy}","received_events_url":"https://api.github.com/users/CpanelInc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CpanelInc/publicapi-php","description":"cPanel PublicAPI PHP client and cPanel PHP library","fork":false,"url":"https://api.github.com/repos/CpanelInc/publicapi-php","forks_url":"https://api.github.com/repos/CpanelInc/publicapi-php/forks","keys_url":"https://api.github.com/repos/CpanelInc/publicapi-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CpanelInc/publicapi-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CpanelInc/publicapi-php/teams","hooks_url":"https://api.github.com/repos/CpanelInc/publicapi-php/hooks","issue_events_url":"https://api.github.com/repos/CpanelInc/publicapi-php/issues/events{/number}","events_url":"https://api.github.com/repos/CpanelInc/publicapi-php/events","assignees_url":"https://api.github.com/repos/CpanelInc/publicapi-php/assignees{/user}","branches_url":"https://api.github.com/repos/CpanelInc/publicapi-php/branches{/branch}","tags_url":"https://api.github.com/repos/CpanelInc/publicapi-php/tags","blobs_url":"https://api.github.com/repos/CpanelInc/publicapi-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CpanelInc/publicapi-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CpanelInc/publicapi-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/CpanelInc/publicapi-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CpanelInc/publicapi-php/statuses/{sha}","languages_url":"https://api.github.com/repos/CpanelInc/publicapi-php/languages","stargazers_url":"https://api.github.com/repos/CpanelInc/publicapi-php/stargazers","contributors_url":"https://api.github.com/repos/CpanelInc/publicapi-php/contributors","subscribers_url":"https://api.github.com/repos/CpanelInc/publicapi-php/subscribers","subscription_url":"https://api.github.com/repos/CpanelInc/publicapi-php/subscription","commits_url":"https://api.github.com/repos/CpanelInc/publicapi-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/CpanelInc/publicapi-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/CpanelInc/publicapi-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/CpanelInc/publicapi-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/CpanelInc/publicapi-php/contents/{+path}","compare_url":"https://api.github.com/repos/CpanelInc/publicapi-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CpanelInc/publicapi-php/merges","archive_url":"https://api.github.com/repos/CpanelInc/publicapi-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CpanelInc/publicapi-php/downloads","issues_url":"https://api.github.com/repos/CpanelInc/publicapi-php/issues{/number}","pulls_url":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls{/number}","milestones_url":"https://api.github.com/repos/CpanelInc/publicapi-php/milestones{/number}","notifications_url":"https://api.github.com/repos/CpanelInc/publicapi-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CpanelInc/publicapi-php/labels{/name}","releases_url":"https://api.github.com/repos/CpanelInc/publicapi-php/releases{/id}","deployments_url":"https://api.github.com/repos/CpanelInc/publicapi-php/deployments","created_at":"2011-04-03T23:45:20Z","updated_at":"2015-11-26T17:21:27Z","pushed_at":"2015-09-28T14:39:46Z","git_url":"git://github.com/CpanelInc/publicapi-php.git","ssh_url":"git@github.com:CpanelInc/publicapi-php.git","clone_url":"https://github.com/CpanelInc/publicapi-php.git","svn_url":"https://github.com/CpanelInc/publicapi-php","homepage":"","size":319,"stargazers_count":69,"watchers_count":69,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":7,"forks":29,"open_issues":7,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/9"},"html":{"href":"https://github.com/CpanelInc/publicapi-php/pull/9"},"issue":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/issues/9"},"comments":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/CpanelInc/publicapi-php/statuses/541e6bd12e9834befde8c8c1a57857d2d7bf90da"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":3525,"deletions":41,"changed_files":15}}