GitHub PullRequestReviewCommentEvent at 2014-10-09 12:07:58
Repository: laterpay-wordpress-plugin
Actor: mturalenka
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/comments/18640678","id":18640678,"diff_hunk":"@@ -245,7 +295,7 @@ protected function get_decrypted_file_name( $file ) {\n         }\n         $cipher = new Crypt_AES();\n         $cipher->setKey( SECURE_AUTH_SALT );\n-        $file = $request->getServer( 'DOCUMENT_ROOT' ) . $cipher->decrypt( $file );\n+        $file = $request->gethost( 'DOCUMENT_ROOT' ) . $cipher->decrypt( $file );","path":"laterpay/application/Helper/File.php","position":172,"original_position":172,"commit_id":"f3fe63c36167bdff572fbbca17d3f058eaeb862c","original_commit_id":"f3fe63c36167bdff572fbbca17d3f058eaeb862c","user":{"login":"mturalenka","id":6449022,"avatar_url":"https://avatars.githubusercontent.com/u/6449022?v=2","gravatar_id":"","url":"https://api.github.com/users/mturalenka","html_url":"https://github.com/mturalenka","followers_url":"https://api.github.com/users/mturalenka/followers","following_url":"https://api.github.com/users/mturalenka/following{/other_user}","gists_url":"https://api.github.com/users/mturalenka/gists{/gist_id}","starred_url":"https://api.github.com/users/mturalenka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mturalenka/subscriptions","organizations_url":"https://api.github.com/users/mturalenka/orgs","repos_url":"https://api.github.com/users/mturalenka/repos","events_url":"https://api.github.com/users/mturalenka/events{/privacy}","received_events_url":"https://api.github.com/users/mturalenka/received_events","type":"User","site_admin":false},"body":"do we have such variable? https://github.com/laterpay/laterpay-wordpress-plugin/blob/master/laterpay/application/Core/Request.php#L52-L56","created_at":"2014-10-09T12:07:58Z","updated_at":"2014-10-09T12:07:58Z","html_url":"https://github.com/laterpay/laterpay-wordpress-plugin/pull/394#discussion_r18640678","pull_request_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394","_links":{"self":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/comments/18640678"},"html":{"href":"https://github.com/laterpay/laterpay-wordpress-plugin/pull/394#discussion_r18640678"},"pull_request":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394"}}},"pull_request":{"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394","id":22415400,"html_url":"https://github.com/laterpay/laterpay-wordpress-plugin/pull/394","diff_url":"https://github.com/laterpay/laterpay-wordpress-plugin/pull/394.diff","patch_url":"https://github.com/laterpay/laterpay-wordpress-plugin/pull/394.patch","issue_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/394","number":394,"state":"open","locked":false,"title":"#371 Update file protection condition","user":{"login":"AlexandrTsumarov-ScienceSoft","id":4998365,"avatar_url":"https://avatars.githubusercontent.com/u/4998365?v=2","gravatar_id":"","url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft","html_url":"https://github.com/AlexandrTsumarov-ScienceSoft","followers_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/followers","following_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/following{/other_user}","gists_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/subscriptions","organizations_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/orgs","repos_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/repos","events_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/events{/privacy}","received_events_url":"https://api.github.com/users/AlexandrTsumarov-ScienceSoft/received_events","type":"User","site_admin":false},"body":"@mturalenka Please review \r\n(The last pull request was closed because of touched unnecessary string formatting by NetBeans)","created_at":"2014-10-08T11:09:46Z","updated_at":"2014-10-09T12:07:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ce3f59baa279b14d8122118a8013be170dcd649d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394/commits","review_comments_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394/comments","review_comment_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/comments/{number}","comments_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/394/comments","statuses_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/statuses/f3fe63c36167bdff572fbbca17d3f058eaeb862c","head":{"label":"laterpay:feature/371_files_protection","ref":"feature/371_files_protection","sha":"f3fe63c36167bdff572fbbca17d3f058eaeb862c","user":{"login":"laterpay","id":1955984,"avatar_url":"https://avatars.githubusercontent.com/u/1955984?v=2","gravatar_id":"","url":"https://api.github.com/users/laterpay","html_url":"https://github.com/laterpay","followers_url":"https://api.github.com/users/laterpay/followers","following_url":"https://api.github.com/users/laterpay/following{/other_user}","gists_url":"https://api.github.com/users/laterpay/gists{/gist_id}","starred_url":"https://api.github.com/users/laterpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laterpay/subscriptions","organizations_url":"https://api.github.com/users/laterpay/orgs","repos_url":"https://api.github.com/users/laterpay/repos","events_url":"https://api.github.com/users/laterpay/events{/privacy}","received_events_url":"https://api.github.com/users/laterpay/received_events","type":"Organization","site_admin":false},"repo":{"id":21206305,"name":"laterpay-wordpress-plugin","full_name":"laterpay/laterpay-wordpress-plugin","owner":{"login":"laterpay","id":1955984,"avatar_url":"https://avatars.githubusercontent.com/u/1955984?v=2","gravatar_id":"","url":"https://api.github.com/users/laterpay","html_url":"https://github.com/laterpay","followers_url":"https://api.github.com/users/laterpay/followers","following_url":"https://api.github.com/users/laterpay/following{/other_user}","gists_url":"https://api.github.com/users/laterpay/gists{/gist_id}","starred_url":"https://api.github.com/users/laterpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laterpay/subscriptions","organizations_url":"https://api.github.com/users/laterpay/orgs","repos_url":"https://api.github.com/users/laterpay/repos","events_url":"https://api.github.com/users/laterpay/events{/privacy}","received_events_url":"https://api.github.com/users/laterpay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laterpay/laterpay-wordpress-plugin","description":"The official LaterPay plugin for selling digital content with WordPress.","fork":false,"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin","forks_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/forks","keys_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/teams","hooks_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/hooks","issue_events_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/events","assignees_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/tags","blobs_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/languages","stargazers_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/stargazers","contributors_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/contributors","subscribers_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/subscribers","subscription_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/subscription","commits_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/merges","archive_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/downloads","issues_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/labels{/name}","releases_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/releases{/id}","created_at":"2014-06-25T14:33:55Z","updated_at":"2014-09-23T12:53:56Z","pushed_at":"2014-10-09T12:05:10Z","git_url":"git://github.com/laterpay/laterpay-wordpress-plugin.git","ssh_url":"git@github.com:laterpay/laterpay-wordpress-plugin.git","clone_url":"https://github.com/laterpay/laterpay-wordpress-plugin.git","svn_url":"https://github.com/laterpay/laterpay-wordpress-plugin","homepage":"","size":39193,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":49,"forks":2,"open_issues":49,"watchers":6,"default_branch":"master"}},"base":{"label":"laterpay:master","ref":"master","sha":"5f5b2452e7ac17a8bb5b579d90651341bda365b2","user":{"login":"laterpay","id":1955984,"avatar_url":"https://avatars.githubusercontent.com/u/1955984?v=2","gravatar_id":"","url":"https://api.github.com/users/laterpay","html_url":"https://github.com/laterpay","followers_url":"https://api.github.com/users/laterpay/followers","following_url":"https://api.github.com/users/laterpay/following{/other_user}","gists_url":"https://api.github.com/users/laterpay/gists{/gist_id}","starred_url":"https://api.github.com/users/laterpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laterpay/subscriptions","organizations_url":"https://api.github.com/users/laterpay/orgs","repos_url":"https://api.github.com/users/laterpay/repos","events_url":"https://api.github.com/users/laterpay/events{/privacy}","received_events_url":"https://api.github.com/users/laterpay/received_events","type":"Organization","site_admin":false},"repo":{"id":21206305,"name":"laterpay-wordpress-plugin","full_name":"laterpay/laterpay-wordpress-plugin","owner":{"login":"laterpay","id":1955984,"avatar_url":"https://avatars.githubusercontent.com/u/1955984?v=2","gravatar_id":"","url":"https://api.github.com/users/laterpay","html_url":"https://github.com/laterpay","followers_url":"https://api.github.com/users/laterpay/followers","following_url":"https://api.github.com/users/laterpay/following{/other_user}","gists_url":"https://api.github.com/users/laterpay/gists{/gist_id}","starred_url":"https://api.github.com/users/laterpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laterpay/subscriptions","organizations_url":"https://api.github.com/users/laterpay/orgs","repos_url":"https://api.github.com/users/laterpay/repos","events_url":"https://api.github.com/users/laterpay/events{/privacy}","received_events_url":"https://api.github.com/users/laterpay/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/laterpay/laterpay-wordpress-plugin","description":"The official LaterPay plugin for selling digital content with WordPress.","fork":false,"url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin","forks_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/forks","keys_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/teams","hooks_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/hooks","issue_events_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/events{/number}","events_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/events","assignees_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/assignees{/user}","branches_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/branches{/branch}","tags_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/tags","blobs_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/refs{/sha}","trees_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/statuses/{sha}","languages_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/languages","stargazers_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/stargazers","contributors_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/contributors","subscribers_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/subscribers","subscription_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/subscription","commits_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/commits{/sha}","git_commits_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/git/commits{/sha}","comments_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/comments{/number}","issue_comment_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/comments/{number}","contents_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/contents/{+path}","compare_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/merges","archive_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/downloads","issues_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues{/number}","pulls_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls{/number}","milestones_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/milestones{/number}","notifications_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/labels{/name}","releases_url":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/releases{/id}","created_at":"2014-06-25T14:33:55Z","updated_at":"2014-09-23T12:53:56Z","pushed_at":"2014-10-09T12:05:10Z","git_url":"git://github.com/laterpay/laterpay-wordpress-plugin.git","ssh_url":"git@github.com:laterpay/laterpay-wordpress-plugin.git","clone_url":"https://github.com/laterpay/laterpay-wordpress-plugin.git","svn_url":"https://github.com/laterpay/laterpay-wordpress-plugin","homepage":"","size":39193,"stargazers_count":6,"watchers_count":6,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":49,"forks":2,"open_issues":49,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394"},"html":{"href":"https://github.com/laterpay/laterpay-wordpress-plugin/pull/394"},"issue":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/394"},"comments":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/issues/394/comments"},"review_comments":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394/comments"},"review_comment":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/pulls/394/commits"},"statuses":{"href":"https://api.github.com/repos/laterpay/laterpay-wordpress-plugin/statuses/f3fe63c36167bdff572fbbca17d3f058eaeb862c"}}}}