{"action":"closed","number":167,"pull_request":{"url":"https://api.github.com/repos/oscarotero/Embed/pulls/167","id":88298503,"html_url":"https://github.com/oscarotero/Embed/pull/167","diff_url":"https://github.com/oscarotero/Embed/pull/167.diff","patch_url":"https://github.com/oscarotero/Embed/pull/167.patch","issue_url":"https://api.github.com/repos/oscarotero/Embed/issues/167","number":167,"state":"closed","locked":false,"title":"Make embed temporary cookies file name unique","user":{"login":"zerolab","id":31622,"avatar_url":"https://avatars.githubusercontent.com/u/31622?v=3","gravatar_id":"","url":"https://api.github.com/users/zerolab","html_url":"https://github.com/zerolab","followers_url":"https://api.github.com/users/zerolab/followers","following_url":"https://api.github.com/users/zerolab/following{/other_user}","gists_url":"https://api.github.com/users/zerolab/gists{/gist_id}","starred_url":"https://api.github.com/users/zerolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerolab/subscriptions","organizations_url":"https://api.github.com/users/zerolab/orgs","repos_url":"https://api.github.com/users/zerolab/repos","events_url":"https://api.github.com/users/zerolab/events{/privacy}","received_events_url":"https://api.github.com/users/zerolab/received_events","type":"User","site_admin":false},"body":"We have a multiple applications sharing a server. Each application has their own user.\r\nSo if one embed request is made by app1, /tmp/embed-cookies.txt is owned by app1user, preventing other apps from working.\r\n\r\nA better implementation would probably be to use [tempnam](http://php.net/manual/en/function.tempnam.php), but this should work well enough.","created_at":"2016-10-06T16:39:58Z","updated_at":"2016-10-06T18:13:19Z","closed_at":"2016-10-06T18:13:19Z","merged_at":"2016-10-06T18:13:19Z","merge_commit_sha":"5fdc3d9c141df9f9e54eaf1e957698cfa8d3e47d","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/oscarotero/Embed/pulls/167/commits","review_comments_url":"https://api.github.com/repos/oscarotero/Embed/pulls/167/comments","review_comment_url":"https://api.github.com/repos/oscarotero/Embed/pulls/comments{/number}","comments_url":"https://api.github.com/repos/oscarotero/Embed/issues/167/comments","statuses_url":"https://api.github.com/repos/oscarotero/Embed/statuses/d5a021f068647c3dd5f7df8c92750c6c4c8db9f9","head":{"label":"zerolab:random-tmp-embed-cookies","ref":"random-tmp-embed-cookies","sha":"d5a021f068647c3dd5f7df8c92750c6c4c8db9f9","user":{"login":"zerolab","id":31622,"avatar_url":"https://avatars.githubusercontent.com/u/31622?v=3","gravatar_id":"","url":"https://api.github.com/users/zerolab","html_url":"https://github.com/zerolab","followers_url":"https://api.github.com/users/zerolab/followers","following_url":"https://api.github.com/users/zerolab/following{/other_user}","gists_url":"https://api.github.com/users/zerolab/gists{/gist_id}","starred_url":"https://api.github.com/users/zerolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerolab/subscriptions","organizations_url":"https://api.github.com/users/zerolab/orgs","repos_url":"https://api.github.com/users/zerolab/repos","events_url":"https://api.github.com/users/zerolab/events{/privacy}","received_events_url":"https://api.github.com/users/zerolab/received_events","type":"User","site_admin":false},"repo":{"id":70172293,"name":"Embed","full_name":"zerolab/Embed","owner":{"login":"zerolab","id":31622,"avatar_url":"https://avatars.githubusercontent.com/u/31622?v=3","gravatar_id":"","url":"https://api.github.com/users/zerolab","html_url":"https://github.com/zerolab","followers_url":"https://api.github.com/users/zerolab/followers","following_url":"https://api.github.com/users/zerolab/following{/other_user}","gists_url":"https://api.github.com/users/zerolab/gists{/gist_id}","starred_url":"https://api.github.com/users/zerolab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zerolab/subscriptions","organizations_url":"https://api.github.com/users/zerolab/orgs","repos_url":"https://api.github.com/users/zerolab/repos","events_url":"https://api.github.com/users/zerolab/events{/privacy}","received_events_url":"https://api.github.com/users/zerolab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zerolab/Embed","description":"Get info from any web service or page","fork":true,"url":"https://api.github.com/repos/zerolab/Embed","forks_url":"https://api.github.com/repos/zerolab/Embed/forks","keys_url":"https://api.github.com/repos/zerolab/Embed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zerolab/Embed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zerolab/Embed/teams","hooks_url":"https://api.github.com/repos/zerolab/Embed/hooks","issue_events_url":"https://api.github.com/repos/zerolab/Embed/issues/events{/number}","events_url":"https://api.github.com/repos/zerolab/Embed/events","assignees_url":"https://api.github.com/repos/zerolab/Embed/assignees{/user}","branches_url":"https://api.github.com/repos/zerolab/Embed/branches{/branch}","tags_url":"https://api.github.com/repos/zerolab/Embed/tags","blobs_url":"https://api.github.com/repos/zerolab/Embed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zerolab/Embed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zerolab/Embed/git/refs{/sha}","trees_url":"https://api.github.com/repos/zerolab/Embed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zerolab/Embed/statuses/{sha}","languages_url":"https://api.github.com/repos/zerolab/Embed/languages","stargazers_url":"https://api.github.com/repos/zerolab/Embed/stargazers","contributors_url":"https://api.github.com/repos/zerolab/Embed/contributors","subscribers_url":"https://api.github.com/repos/zerolab/Embed/subscribers","subscription_url":"https://api.github.com/repos/zerolab/Embed/subscription","commits_url":"https://api.github.com/repos/zerolab/Embed/commits{/sha}","git_commits_url":"https://api.github.com/repos/zerolab/Embed/git/commits{/sha}","comments_url":"https://api.github.com/repos/zerolab/Embed/comments{/number}","issue_comment_url":"https://api.github.com/repos/zerolab/Embed/issues/comments{/number}","contents_url":"https://api.github.com/repos/zerolab/Embed/contents/{+path}","compare_url":"https://api.github.com/repos/zerolab/Embed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zerolab/Embed/merges","archive_url":"https://api.github.com/repos/zerolab/Embed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zerolab/Embed/downloads","issues_url":"https://api.github.com/repos/zerolab/Embed/issues{/number}","pulls_url":"https://api.github.com/repos/zerolab/Embed/pulls{/number}","milestones_url":"https://api.github.com/repos/zerolab/Embed/milestones{/number}","notifications_url":"https://api.github.com/repos/zerolab/Embed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zerolab/Embed/labels{/name}","releases_url":"https://api.github.com/repos/zerolab/Embed/releases{/id}","deployments_url":"https://api.github.com/repos/zerolab/Embed/deployments","created_at":"2016-10-06T16:31:23Z","updated_at":"2016-10-06T16:31:24Z","pushed_at":"2016-10-06T16:36:55Z","git_url":"git://github.com/zerolab/Embed.git","ssh_url":"git@github.com:zerolab/Embed.git","clone_url":"https://github.com/zerolab/Embed.git","svn_url":"https://github.com/zerolab/Embed","homepage":"http://oscarotero.com/embed2/demo","size":1285,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"oscarotero:master","ref":"master","sha":"8f574c58c09aaaf71f88809e3425399229e84d16","user":{"login":"oscarotero","id":377873,"avatar_url":"https://avatars.githubusercontent.com/u/377873?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarotero","html_url":"https://github.com/oscarotero","followers_url":"https://api.github.com/users/oscarotero/followers","following_url":"https://api.github.com/users/oscarotero/following{/other_user}","gists_url":"https://api.github.com/users/oscarotero/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarotero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarotero/subscriptions","organizations_url":"https://api.github.com/users/oscarotero/orgs","repos_url":"https://api.github.com/users/oscarotero/repos","events_url":"https://api.github.com/users/oscarotero/events{/privacy}","received_events_url":"https://api.github.com/users/oscarotero/received_events","type":"User","site_admin":false},"repo":{"id":6147928,"name":"Embed","full_name":"oscarotero/Embed","owner":{"login":"oscarotero","id":377873,"avatar_url":"https://avatars.githubusercontent.com/u/377873?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarotero","html_url":"https://github.com/oscarotero","followers_url":"https://api.github.com/users/oscarotero/followers","following_url":"https://api.github.com/users/oscarotero/following{/other_user}","gists_url":"https://api.github.com/users/oscarotero/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarotero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarotero/subscriptions","organizations_url":"https://api.github.com/users/oscarotero/orgs","repos_url":"https://api.github.com/users/oscarotero/repos","events_url":"https://api.github.com/users/oscarotero/events{/privacy}","received_events_url":"https://api.github.com/users/oscarotero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/oscarotero/Embed","description":"Get info from any web service or page","fork":false,"url":"https://api.github.com/repos/oscarotero/Embed","forks_url":"https://api.github.com/repos/oscarotero/Embed/forks","keys_url":"https://api.github.com/repos/oscarotero/Embed/keys{/key_id}","collaborators_url":"https://api.github.com/repos/oscarotero/Embed/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/oscarotero/Embed/teams","hooks_url":"https://api.github.com/repos/oscarotero/Embed/hooks","issue_events_url":"https://api.github.com/repos/oscarotero/Embed/issues/events{/number}","events_url":"https://api.github.com/repos/oscarotero/Embed/events","assignees_url":"https://api.github.com/repos/oscarotero/Embed/assignees{/user}","branches_url":"https://api.github.com/repos/oscarotero/Embed/branches{/branch}","tags_url":"https://api.github.com/repos/oscarotero/Embed/tags","blobs_url":"https://api.github.com/repos/oscarotero/Embed/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/oscarotero/Embed/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/oscarotero/Embed/git/refs{/sha}","trees_url":"https://api.github.com/repos/oscarotero/Embed/git/trees{/sha}","statuses_url":"https://api.github.com/repos/oscarotero/Embed/statuses/{sha}","languages_url":"https://api.github.com/repos/oscarotero/Embed/languages","stargazers_url":"https://api.github.com/repos/oscarotero/Embed/stargazers","contributors_url":"https://api.github.com/repos/oscarotero/Embed/contributors","subscribers_url":"https://api.github.com/repos/oscarotero/Embed/subscribers","subscription_url":"https://api.github.com/repos/oscarotero/Embed/subscription","commits_url":"https://api.github.com/repos/oscarotero/Embed/commits{/sha}","git_commits_url":"https://api.github.com/repos/oscarotero/Embed/git/commits{/sha}","comments_url":"https://api.github.com/repos/oscarotero/Embed/comments{/number}","issue_comment_url":"https://api.github.com/repos/oscarotero/Embed/issues/comments{/number}","contents_url":"https://api.github.com/repos/oscarotero/Embed/contents/{+path}","compare_url":"https://api.github.com/repos/oscarotero/Embed/compare/{base}...{head}","merges_url":"https://api.github.com/repos/oscarotero/Embed/merges","archive_url":"https://api.github.com/repos/oscarotero/Embed/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/oscarotero/Embed/downloads","issues_url":"https://api.github.com/repos/oscarotero/Embed/issues{/number}","pulls_url":"https://api.github.com/repos/oscarotero/Embed/pulls{/number}","milestones_url":"https://api.github.com/repos/oscarotero/Embed/milestones{/number}","notifications_url":"https://api.github.com/repos/oscarotero/Embed/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/oscarotero/Embed/labels{/name}","releases_url":"https://api.github.com/repos/oscarotero/Embed/releases{/id}","deployments_url":"https://api.github.com/repos/oscarotero/Embed/deployments","created_at":"2012-10-09T21:14:58Z","updated_at":"2016-10-04T10:17:18Z","pushed_at":"2016-10-06T18:13:19Z","git_url":"git://github.com/oscarotero/Embed.git","ssh_url":"git@github.com:oscarotero/Embed.git","clone_url":"https://github.com/oscarotero/Embed.git","svn_url":"https://github.com/oscarotero/Embed","homepage":"http://oscarotero.com/embed2/demo","size":1614,"stargazers_count":863,"watchers_count":863,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":107,"mirror_url":null,"open_issues_count":4,"forks":107,"open_issues":4,"watchers":863,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/oscarotero/Embed/pulls/167"},"html":{"href":"https://github.com/oscarotero/Embed/pull/167"},"issue":{"href":"https://api.github.com/repos/oscarotero/Embed/issues/167"},"comments":{"href":"https://api.github.com/repos/oscarotero/Embed/issues/167/comments"},"review_comments":{"href":"https://api.github.com/repos/oscarotero/Embed/pulls/167/comments"},"review_comment":{"href":"https://api.github.com/repos/oscarotero/Embed/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/oscarotero/Embed/pulls/167/commits"},"statuses":{"href":"https://api.github.com/repos/oscarotero/Embed/statuses/d5a021f068647c3dd5f7df8c92750c6c4c8db9f9"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"oscarotero","id":377873,"avatar_url":"https://avatars.githubusercontent.com/u/377873?v=3","gravatar_id":"","url":"https://api.github.com/users/oscarotero","html_url":"https://github.com/oscarotero","followers_url":"https://api.github.com/users/oscarotero/followers","following_url":"https://api.github.com/users/oscarotero/following{/other_user}","gists_url":"https://api.github.com/users/oscarotero/gists{/gist_id}","starred_url":"https://api.github.com/users/oscarotero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oscarotero/subscriptions","organizations_url":"https://api.github.com/users/oscarotero/orgs","repos_url":"https://api.github.com/users/oscarotero/repos","events_url":"https://api.github.com/users/oscarotero/events{/privacy}","received_events_url":"https://api.github.com/users/oscarotero/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"oscarotero"}}