{"action":"created","comment":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/217419453","pull_request_review_id":155127163,"id":217419453,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNzQxOTQ1Mw==","diff_hunk":"@@ -0,0 +1,189 @@\n+<?php\n+/**\n+ *\n+ * This file is part of the phpBB Forum Software package.\n+ *\n+ * @copyright (c) phpBB Limited <https://www.phpbb.com>\n+ * @license GNU General Public License, version 2 (GPL-2.0)\n+ *\n+ * For full copyright and license information, please see\n+ * the docs/CREDITS.txt file.\n+ *\n+ */\n+\n+namespace phpbb\\storage\\controller;\n+\n+use phpbb\\cache\\service;\n+use phpbb\\db\\driver\\driver_interface;\n+use phpbb\\exception\\http_exception;\n+use phpbb\\storage\\storage;\n+use Symfony\\Component\\HttpFoundation\\Request as symfony_request;\n+use Symfony\\Component\\HttpFoundation\\StreamedResponse;\n+\n+/**\n+ * Generic controller for storage\n+ */\n+class controller\n+{\n+\t/** @var service */\n+\tprotected $cache;\n+\n+\t/** @var driver_interface */\n+\tprotected $db;\n+\n+\t/** @var storage */\n+\tprotected $storage;\n+\n+\t/** @var StreamedResponse */\n+\tprotected $response;\n+\n+\t/** @var symfony_request */\n+\tprotected $symfony_request;\n+\n+\t/**\n+\t * Constructor\n+\t *\n+\t * @param service\t\t\t\t$cache\n+\t * @param driver_interfacd\t\t$db\n+\t * @param storage\t\t\t\t$storage\n+\t * @param symfony_request\t\t$symfony_request\n+\t */\n+\tpublic function __construct(service $cache, driver_interface $db, storage $storage, symfony_request $symfony_request)\n+\t{\n+\t\t$this->cache = $cache;\n+\t\t$this->db = $db;\n+\t\t$this->storage = $storage;\n+\t\t$this->symfony_request = $symfony_request;\n+\t\t$this->response = new StreamedResponse();\n+\t}\n+\n+\t/**\n+\t * Handler\n+\t *\n+\t * @param string\t\t$file\t\tFile path\n+\t *\n+\t * @throws \\phpbb\\exception\\http_exception when can't access $file\n+\t *\n+\t * @return \\Symfony\\Component\\HttpFoundation\\StreamedResponse a Symfony response object\n+\t */\n+\tpublic function handle($file)\n+\t{\n+\t\tif (!$this->is_allowed($file))\n+\t\t{\n+\t\t\tthrow new http_exception(403, 'Forbidden');\n+\t\t}\n+\n+\t\tif (!$this->file_exists($file))\n+\t\t{\n+\t\t\tthrow new http_exception(404, 'Not Found');\n+\t\t}\n+\n+\t\t$this->prepare($file);\n+\n+\t\tif (headers_sent())\n+\t\t{\n+\t\t\tthrow new http_exception(500, 'Headers already sent');\n+\t\t}\n+\n+\t\treturn $this->response;\n+\t}\n+\n+\t/**\n+\t * If the user is allowed to download the file\n+\t *\n+\t * @param string\t\t$file\t\tFile path\n+\t *\n+\t * @return bool\n+\t */\n+\tprotected function is_allowed($file)\n+\t{\n+\t\treturn true;\n+\t}\n+\n+\t/**\n+\t * Check if file exists\n+\t *\n+\t * @param string\t\t$file\t\tFile path\n+\t *\n+\t * @return bool\n+\t */\n+\tprotected function file_exists($file)\n+\t{\n+\t\treturn $this->storage->exists($file);\n+\t}\n+\n+\t/**\n+\t * Prepare response\n+\t *\n+\t * @param string\t\t$file\t\tFile path\n+\t */\n+\tprotected function prepare($file)\n+\t{\n+\t\t$this->response->setPublic();\n+\n+\t\t$file_info = $this->storage->file_info($file);\n+\n+\t\tif (!$this->response->headers->has('Content-Type'))\n+\t\t{\n+\t\t\ttry\n+\t\t\t{\n+\t\t\t\t$content_type = $file_info->mimetype;\n+\t\t\t}\n+\t\t\tcatch (\\phpbb\\storage\\exception\\exception $e)\n+\t\t\t{\n+\t\t\t\t$content_type = 'application/octet-stream';\n+\t\t\t}\n+\n+\t\t\t$this->response->headers->set('Content-Type', $content_type);\n+\t\t}\n+\n+\t\tif (!$this->response->headers->has('Content-Length'))\n+\t\t{\n+\t\t\ttry\n+\t\t\t{\n+\t\t\t\t$this->response->headers->set('Content-Length', $file_info->size);\n+\t\t\t}\n+\t\t\tcatch (\\phpbb\\storage\\exception\\exception $e)\n+\t\t\t{\n+\t\t\t\t// Just don't send this header\n+\t\t\t}\n+\t\t}\n+\n+\t\t@set_time_limit(0);\n+\n+\t\t$fp = $this->storage->read_stream($file);\n+\n+\t\t// Close db connection\n+\t\t$this->file_gc();","path":"phpBB/phpbb/storage/controller/controller.php","position":157,"original_position":157,"commit_id":"94214f933b65356a30b24237f03fbbdc83a3150a","original_commit_id":"94214f933b65356a30b24237f03fbbdc83a3150a","user":{"login":"Nicofuma","id":591456,"node_id":"MDQ6VXNlcjU5MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/591456?v=4","gravatar_id":"","url":"https://api.github.com/users/Nicofuma","html_url":"https://github.com/Nicofuma","followers_url":"https://api.github.com/users/Nicofuma/followers","following_url":"https://api.github.com/users/Nicofuma/following{/other_user}","gists_url":"https://api.github.com/users/Nicofuma/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicofuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicofuma/subscriptions","organizations_url":"https://api.github.com/users/Nicofuma/orgs","repos_url":"https://api.github.com/users/Nicofuma/repos","events_url":"https://api.github.com/users/Nicofuma/events{/privacy}","received_events_url":"https://api.github.com/users/Nicofuma/received_events","type":"User","site_admin":false},"body":"I thougth the callback was called during the termine event but it seems to not be the case :/","created_at":"2018-09-13T15:03:20Z","updated_at":"2018-09-13T15:03:20Z","html_url":"https://github.com/phpbb/phpbb/pull/5274#discussion_r217419453","pull_request_url":"https://api.github.com/repos/phpbb/phpbb/pulls/5274","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments/217419453"},"html":{"href":"https://github.com/phpbb/phpbb/pull/5274#discussion_r217419453"},"pull_request":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/5274"}},"in_reply_to_id":217386896},"pull_request":{"url":"https://api.github.com/repos/phpbb/phpbb/pulls/5274","id":198359977,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MzU5OTc3","html_url":"https://github.com/phpbb/phpbb/pull/5274","diff_url":"https://github.com/phpbb/phpbb/pull/5274.diff","patch_url":"https://github.com/phpbb/phpbb/pull/5274.patch","issue_url":"https://api.github.com/repos/phpbb/phpbb/issues/5274","number":5274,"state":"open","locked":false,"title":"[ticket/14285] Move downloads to controller","user":{"login":"rubencm","id":885208,"node_id":"MDQ6VXNlcjg4NTIwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/885208?v=4","gravatar_id":"","url":"https://api.github.com/users/rubencm","html_url":"https://github.com/rubencm","followers_url":"https://api.github.com/users/rubencm/followers","following_url":"https://api.github.com/users/rubencm/following{/other_user}","gists_url":"https://api.github.com/users/rubencm/gists{/gist_id}","starred_url":"https://api.github.com/users/rubencm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubencm/subscriptions","organizations_url":"https://api.github.com/users/rubencm/orgs","repos_url":"https://api.github.com/users/rubencm/repos","events_url":"https://api.github.com/users/rubencm/events{/privacy}","received_events_url":"https://api.github.com/users/rubencm/received_events","type":"User","site_admin":false},"body":"PHPBB3-14285\r\n\r\nChecklist:\r\n\r\n- [x] Correct branch: master for new features; 3.2.x for fixes\r\n- [x] Tests pass\r\n- [x] Code follows coding guidelines: [master](https://area51.phpbb.com/docs/dev/master/development/coding_guidelines.html) and [3.2.x](https://area51.phpbb.com/docs/dev/3.2.x/development/coding_guidelines.html)\r\n- [x] Commit follows commit message [format](https://area51.phpbb.com/docs/dev/3.2.x/development/git.html)\r\n\r\nTracker ticket (set the ticket ID to **your ticket ID**):\r\n\r\nhttps://tracker.phpbb.com/browse/PHPBB3-14285\r\n","created_at":"2018-06-29T16:01:37Z","updated_at":"2018-09-13T15:03:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7b3189edd5979ff2d447c6f5b154830beb042540","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":315943379,"node_id":"MDU6TGFiZWwzMTU5NDMzNzk=","url":"https://api.github.com/repos/phpbb/phpbb/labels/3.3%20(Proteus)","name":"3.3 (Proteus)","color":"d4c5f9","default":false},{"id":973210797,"node_id":"MDU6TGFiZWw5NzMyMTA3OTc=","url":"https://api.github.com/repos/phpbb/phpbb/labels/GSOC%20%F0%9F%8E%93","name":"GSOC 🎓","color":"9219a6","default":false}],"milestone":{"url":"https://api.github.com/repos/phpbb/phpbb/milestones/11","html_url":"https://github.com/phpbb/phpbb/milestone/11","labels_url":"https://api.github.com/repos/phpbb/phpbb/milestones/11/labels","id":1448675,"node_id":"MDk6TWlsZXN0b25lMTQ0ODY3NQ==","number":11,"title":"3.3.0-a1","description":"","creator":{"login":"Nicofuma","id":591456,"node_id":"MDQ6VXNlcjU5MTQ1Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/591456?v=4","gravatar_id":"","url":"https://api.github.com/users/Nicofuma","html_url":"https://github.com/Nicofuma","followers_url":"https://api.github.com/users/Nicofuma/followers","following_url":"https://api.github.com/users/Nicofuma/following{/other_user}","gists_url":"https://api.github.com/users/Nicofuma/gists{/gist_id}","starred_url":"https://api.github.com/users/Nicofuma/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Nicofuma/subscriptions","organizations_url":"https://api.github.com/users/Nicofuma/orgs","repos_url":"https://api.github.com/users/Nicofuma/repos","events_url":"https://api.github.com/users/Nicofuma/events{/privacy}","received_events_url":"https://api.github.com/users/Nicofuma/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":120,"state":"open","created_at":"2015-12-07T20:57:54Z","updated_at":"2018-09-12T12:26:53Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/phpbb/phpbb/pulls/5274/commits","review_comments_url":"https://api.github.com/repos/phpbb/phpbb/pulls/5274/comments","review_comment_url":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpbb/phpbb/issues/5274/comments","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/94214f933b65356a30b24237f03fbbdc83a3150a","head":{"label":"rubencm:ticket/14285","ref":"ticket/14285","sha":"94214f933b65356a30b24237f03fbbdc83a3150a","user":{"login":"rubencm","id":885208,"node_id":"MDQ6VXNlcjg4NTIwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/885208?v=4","gravatar_id":"","url":"https://api.github.com/users/rubencm","html_url":"https://github.com/rubencm","followers_url":"https://api.github.com/users/rubencm/followers","following_url":"https://api.github.com/users/rubencm/following{/other_user}","gists_url":"https://api.github.com/users/rubencm/gists{/gist_id}","starred_url":"https://api.github.com/users/rubencm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubencm/subscriptions","organizations_url":"https://api.github.com/users/rubencm/orgs","repos_url":"https://api.github.com/users/rubencm/repos","events_url":"https://api.github.com/users/rubencm/events{/privacy}","received_events_url":"https://api.github.com/users/rubencm/received_events","type":"User","site_admin":false},"repo":{"id":81611985,"node_id":"MDEwOlJlcG9zaXRvcnk4MTYxMTk4NQ==","name":"phpbb","full_name":"rubencm/phpbb","owner":{"login":"rubencm","id":885208,"node_id":"MDQ6VXNlcjg4NTIwOA==","avatar_url":"https://avatars3.githubusercontent.com/u/885208?v=4","gravatar_id":"","url":"https://api.github.com/users/rubencm","html_url":"https://github.com/rubencm","followers_url":"https://api.github.com/users/rubencm/followers","following_url":"https://api.github.com/users/rubencm/following{/other_user}","gists_url":"https://api.github.com/users/rubencm/gists{/gist_id}","starred_url":"https://api.github.com/users/rubencm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rubencm/subscriptions","organizations_url":"https://api.github.com/users/rubencm/orgs","repos_url":"https://api.github.com/users/rubencm/repos","events_url":"https://api.github.com/users/rubencm/events{/privacy}","received_events_url":"https://api.github.com/users/rubencm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rubencm/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":true,"url":"https://api.github.com/repos/rubencm/phpbb","forks_url":"https://api.github.com/repos/rubencm/phpbb/forks","keys_url":"https://api.github.com/repos/rubencm/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rubencm/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rubencm/phpbb/teams","hooks_url":"https://api.github.com/repos/rubencm/phpbb/hooks","issue_events_url":"https://api.github.com/repos/rubencm/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/rubencm/phpbb/events","assignees_url":"https://api.github.com/repos/rubencm/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/rubencm/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/rubencm/phpbb/tags","blobs_url":"https://api.github.com/repos/rubencm/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rubencm/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rubencm/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/rubencm/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rubencm/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/rubencm/phpbb/languages","stargazers_url":"https://api.github.com/repos/rubencm/phpbb/stargazers","contributors_url":"https://api.github.com/repos/rubencm/phpbb/contributors","subscribers_url":"https://api.github.com/repos/rubencm/phpbb/subscribers","subscription_url":"https://api.github.com/repos/rubencm/phpbb/subscription","commits_url":"https://api.github.com/repos/rubencm/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/rubencm/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/rubencm/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/rubencm/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/rubencm/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/rubencm/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rubencm/phpbb/merges","archive_url":"https://api.github.com/repos/rubencm/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rubencm/phpbb/downloads","issues_url":"https://api.github.com/repos/rubencm/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/rubencm/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/rubencm/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/rubencm/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rubencm/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/rubencm/phpbb/releases{/id}","deployments_url":"https://api.github.com/repos/rubencm/phpbb/deployments","created_at":"2017-02-10T22:16:05Z","updated_at":"2018-08-31T07:31:16Z","pushed_at":"2018-09-13T14:52:36Z","git_url":"git://github.com/rubencm/phpbb.git","ssh_url":"git@github.com:rubencm/phpbb.git","clone_url":"https://github.com/rubencm/phpbb.git","svn_url":"https://github.com/rubencm/phpbb","homepage":"http://www.phpbb.com","size":64079,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"phpbb:master","ref":"master","sha":"1c406c70e087a2190ae4a868fcf16f7fceb06ec4","user":{"login":"phpbb","id":176697,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjY5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/176697?v=4","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"repo":{"id":541983,"node_id":"MDEwOlJlcG9zaXRvcnk1NDE5ODM=","name":"phpbb","full_name":"phpbb/phpbb","owner":{"login":"phpbb","id":176697,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE3NjY5Nw==","avatar_url":"https://avatars1.githubusercontent.com/u/176697?v=4","gravatar_id":"","url":"https://api.github.com/users/phpbb","html_url":"https://github.com/phpbb","followers_url":"https://api.github.com/users/phpbb/followers","following_url":"https://api.github.com/users/phpbb/following{/other_user}","gists_url":"https://api.github.com/users/phpbb/gists{/gist_id}","starred_url":"https://api.github.com/users/phpbb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpbb/subscriptions","organizations_url":"https://api.github.com/users/phpbb/orgs","repos_url":"https://api.github.com/users/phpbb/repos","events_url":"https://api.github.com/users/phpbb/events{/privacy}","received_events_url":"https://api.github.com/users/phpbb/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpbb/phpbb","description":" phpBB 3 Development: phpBB is a popular open-source bulletin board written in PHP. This repository also contains the history of version 2.","fork":false,"url":"https://api.github.com/repos/phpbb/phpbb","forks_url":"https://api.github.com/repos/phpbb/phpbb/forks","keys_url":"https://api.github.com/repos/phpbb/phpbb/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpbb/phpbb/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpbb/phpbb/teams","hooks_url":"https://api.github.com/repos/phpbb/phpbb/hooks","issue_events_url":"https://api.github.com/repos/phpbb/phpbb/issues/events{/number}","events_url":"https://api.github.com/repos/phpbb/phpbb/events","assignees_url":"https://api.github.com/repos/phpbb/phpbb/assignees{/user}","branches_url":"https://api.github.com/repos/phpbb/phpbb/branches{/branch}","tags_url":"https://api.github.com/repos/phpbb/phpbb/tags","blobs_url":"https://api.github.com/repos/phpbb/phpbb/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpbb/phpbb/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpbb/phpbb/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpbb/phpbb/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpbb/phpbb/statuses/{sha}","languages_url":"https://api.github.com/repos/phpbb/phpbb/languages","stargazers_url":"https://api.github.com/repos/phpbb/phpbb/stargazers","contributors_url":"https://api.github.com/repos/phpbb/phpbb/contributors","subscribers_url":"https://api.github.com/repos/phpbb/phpbb/subscribers","subscription_url":"https://api.github.com/repos/phpbb/phpbb/subscription","commits_url":"https://api.github.com/repos/phpbb/phpbb/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpbb/phpbb/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpbb/phpbb/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpbb/phpbb/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpbb/phpbb/contents/{+path}","compare_url":"https://api.github.com/repos/phpbb/phpbb/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpbb/phpbb/merges","archive_url":"https://api.github.com/repos/phpbb/phpbb/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpbb/phpbb/downloads","issues_url":"https://api.github.com/repos/phpbb/phpbb/issues{/number}","pulls_url":"https://api.github.com/repos/phpbb/phpbb/pulls{/number}","milestones_url":"https://api.github.com/repos/phpbb/phpbb/milestones{/number}","notifications_url":"https://api.github.com/repos/phpbb/phpbb/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpbb/phpbb/labels{/name}","releases_url":"https://api.github.com/repos/phpbb/phpbb/releases{/id}","deployments_url":"https://api.github.com/repos/phpbb/phpbb/deployments","created_at":"2010-03-01T22:33:17Z","updated_at":"2018-09-13T00:42:46Z","pushed_at":"2018-09-13T14:59:45Z","git_url":"git://github.com/phpbb/phpbb.git","ssh_url":"git@github.com:phpbb/phpbb.git","clone_url":"https://github.com/phpbb/phpbb.git","svn_url":"https://github.com/phpbb/phpbb","homepage":"http://www.phpbb.com","size":63741,"stargazers_count":1135,"watchers_count":1135,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":713,"mirror_url":null,"archived":false,"open_issues_count":119,"license":null,"forks":713,"open_issues":119,"watchers":1135,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/5274"},"html":{"href":"https://github.com/phpbb/phpbb/pull/5274"},"issue":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/5274"},"comments":{"href":"https://api.github.com/repos/phpbb/phpbb/issues/5274/comments"},"review_comments":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/5274/comments"},"review_comment":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpbb/phpbb/pulls/5274/commits"},"statuses":{"href":"https://api.github.com/repos/phpbb/phpbb/statuses/94214f933b65356a30b24237f03fbbdc83a3150a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Nicofuma"}}