{"action":"created","comment":{"url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/comments/242454634","pull_request_review_id":185965038,"id":242454634,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MjQ1NDYzNA==","diff_hunk":"@@ -0,0 +1,41 @@\n+<?php\n+$name = $_POST['note'];\n+$email = $_POST['email'];\n+$pass = $_POST['pass'];\n+require_once('config.php');\n+$pdo = new PDO('mysql:host=127.0.0.1;dbname=one_luck;charset=utf8', 'root', DB_PASSWORD);\n+$sql = \"INSERT INTO mypage (name) VALUES ('\" . $name . \"')\";\n+$sql = \"INSERT INTO mypage (email) VALUES ('\" . $email . \"')\";\n+$sql = \"INSERT INTO mypage (password) VALUES ('\" . $pass . \"')\";","path":"login/sign_register.php","position":9,"original_position":9,"commit_id":"3bb272819e3be2ecb17cf15e17c74bab3f766462","original_commit_id":"3bb272819e3be2ecb17cf15e17c74bab3f766462","user":{"login":"orihara-ori","id":27845338,"node_id":"MDQ6VXNlcjI3ODQ1MzM4","avatar_url":"https://avatars2.githubusercontent.com/u/27845338?v=4","gravatar_id":"","url":"https://api.github.com/users/orihara-ori","html_url":"https://github.com/orihara-ori","followers_url":"https://api.github.com/users/orihara-ori/followers","following_url":"https://api.github.com/users/orihara-ori/following{/other_user}","gists_url":"https://api.github.com/users/orihara-ori/gists{/gist_id}","starred_url":"https://api.github.com/users/orihara-ori/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/orihara-ori/subscriptions","organizations_url":"https://api.github.com/users/orihara-ori/orgs","repos_url":"https://api.github.com/users/orihara-ori/repos","events_url":"https://api.github.com/users/orihara-ori/events{/privacy}","received_events_url":"https://api.github.com/users/orihara-ori/received_events","type":"User","site_admin":false},"body":"以下のSQL がダタシイです\r\n```\r\n$sql = \"INSERT INTO mypage (name, email, password) VALUES ('\" . $name . \"', '\" . $email . \"', '\" . $pass . \"')\";\r\n```","created_at":"2018-12-18T09:10:10Z","updated_at":"2018-12-18T09:10:10Z","html_url":"https://github.com/kkyopa/PHP-oneluck/pull/19#discussion_r242454634","pull_request_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/comments/242454634"},"html":{"href":"https://github.com/kkyopa/PHP-oneluck/pull/19#discussion_r242454634"},"pull_request":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19"}}},"pull_request":{"url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19","id":239410994,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM5NDEwOTk0","html_url":"https://github.com/kkyopa/PHP-oneluck/pull/19","diff_url":"https://github.com/kkyopa/PHP-oneluck/pull/19.diff","patch_url":"https://github.com/kkyopa/PHP-oneluck/pull/19.patch","issue_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/19","number":19,"state":"open","locked":false,"title":"Feature/test","user":{"login":"kkyopa","id":41884295,"node_id":"MDQ6VXNlcjQxODg0Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/41884295?v=4","gravatar_id":"","url":"https://api.github.com/users/kkyopa","html_url":"https://github.com/kkyopa","followers_url":"https://api.github.com/users/kkyopa/followers","following_url":"https://api.github.com/users/kkyopa/following{/other_user}","gists_url":"https://api.github.com/users/kkyopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkyopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkyopa/subscriptions","organizations_url":"https://api.github.com/users/kkyopa/orgs","repos_url":"https://api.github.com/users/kkyopa/repos","events_url":"https://api.github.com/users/kkyopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkyopa/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-12-18T09:05:55Z","updated_at":"2018-12-18T09:10:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6363c37672b57126e6d4dfcd17a4dff037addcfa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19/commits","review_comments_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19/comments","review_comment_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/comments{/number}","comments_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/19/comments","statuses_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/statuses/3bb272819e3be2ecb17cf15e17c74bab3f766462","head":{"label":"kkyopa:feature/test","ref":"feature/test","sha":"3bb272819e3be2ecb17cf15e17c74bab3f766462","user":{"login":"kkyopa","id":41884295,"node_id":"MDQ6VXNlcjQxODg0Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/41884295?v=4","gravatar_id":"","url":"https://api.github.com/users/kkyopa","html_url":"https://github.com/kkyopa","followers_url":"https://api.github.com/users/kkyopa/followers","following_url":"https://api.github.com/users/kkyopa/following{/other_user}","gists_url":"https://api.github.com/users/kkyopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkyopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkyopa/subscriptions","organizations_url":"https://api.github.com/users/kkyopa/orgs","repos_url":"https://api.github.com/users/kkyopa/repos","events_url":"https://api.github.com/users/kkyopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkyopa/received_events","type":"User","site_admin":false},"repo":{"id":158344981,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzNDQ5ODE=","name":"PHP-oneluck","full_name":"kkyopa/PHP-oneluck","private":false,"owner":{"login":"kkyopa","id":41884295,"node_id":"MDQ6VXNlcjQxODg0Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/41884295?v=4","gravatar_id":"","url":"https://api.github.com/users/kkyopa","html_url":"https://github.com/kkyopa","followers_url":"https://api.github.com/users/kkyopa/followers","following_url":"https://api.github.com/users/kkyopa/following{/other_user}","gists_url":"https://api.github.com/users/kkyopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkyopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkyopa/subscriptions","organizations_url":"https://api.github.com/users/kkyopa/orgs","repos_url":"https://api.github.com/users/kkyopa/repos","events_url":"https://api.github.com/users/kkyopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkyopa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kkyopa/PHP-oneluck","description":null,"fork":false,"url":"https://api.github.com/repos/kkyopa/PHP-oneluck","forks_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/forks","keys_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/teams","hooks_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/hooks","issue_events_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/events{/number}","events_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/events","assignees_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/assignees{/user}","branches_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/branches{/branch}","tags_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/tags","blobs_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/refs{/sha}","trees_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/statuses/{sha}","languages_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/languages","stargazers_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/stargazers","contributors_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/contributors","subscribers_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/subscribers","subscription_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/subscription","commits_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/commits{/sha}","git_commits_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/commits{/sha}","comments_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/comments{/number}","issue_comment_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/comments{/number}","contents_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/contents/{+path}","compare_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/merges","archive_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/downloads","issues_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues{/number}","pulls_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls{/number}","milestones_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/milestones{/number}","notifications_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/labels{/name}","releases_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/releases{/id}","deployments_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/deployments","created_at":"2018-11-20T06:59:55Z","updated_at":"2018-12-13T05:05:43Z","pushed_at":"2018-12-18T09:05:55Z","git_url":"git://github.com/kkyopa/PHP-oneluck.git","ssh_url":"git@github.com:kkyopa/PHP-oneluck.git","clone_url":"https://github.com/kkyopa/PHP-oneluck.git","svn_url":"https://github.com/kkyopa/PHP-oneluck","homepage":null,"size":394,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"kkyopa:master","ref":"master","sha":"6c06e9a38d5c1af21dfe226157d2e652e72d0074","user":{"login":"kkyopa","id":41884295,"node_id":"MDQ6VXNlcjQxODg0Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/41884295?v=4","gravatar_id":"","url":"https://api.github.com/users/kkyopa","html_url":"https://github.com/kkyopa","followers_url":"https://api.github.com/users/kkyopa/followers","following_url":"https://api.github.com/users/kkyopa/following{/other_user}","gists_url":"https://api.github.com/users/kkyopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkyopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkyopa/subscriptions","organizations_url":"https://api.github.com/users/kkyopa/orgs","repos_url":"https://api.github.com/users/kkyopa/repos","events_url":"https://api.github.com/users/kkyopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkyopa/received_events","type":"User","site_admin":false},"repo":{"id":158344981,"node_id":"MDEwOlJlcG9zaXRvcnkxNTgzNDQ5ODE=","name":"PHP-oneluck","full_name":"kkyopa/PHP-oneluck","private":false,"owner":{"login":"kkyopa","id":41884295,"node_id":"MDQ6VXNlcjQxODg0Mjk1","avatar_url":"https://avatars0.githubusercontent.com/u/41884295?v=4","gravatar_id":"","url":"https://api.github.com/users/kkyopa","html_url":"https://github.com/kkyopa","followers_url":"https://api.github.com/users/kkyopa/followers","following_url":"https://api.github.com/users/kkyopa/following{/other_user}","gists_url":"https://api.github.com/users/kkyopa/gists{/gist_id}","starred_url":"https://api.github.com/users/kkyopa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kkyopa/subscriptions","organizations_url":"https://api.github.com/users/kkyopa/orgs","repos_url":"https://api.github.com/users/kkyopa/repos","events_url":"https://api.github.com/users/kkyopa/events{/privacy}","received_events_url":"https://api.github.com/users/kkyopa/received_events","type":"User","site_admin":false},"html_url":"https://github.com/kkyopa/PHP-oneluck","description":null,"fork":false,"url":"https://api.github.com/repos/kkyopa/PHP-oneluck","forks_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/forks","keys_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/teams","hooks_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/hooks","issue_events_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/events{/number}","events_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/events","assignees_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/assignees{/user}","branches_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/branches{/branch}","tags_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/tags","blobs_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/refs{/sha}","trees_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/statuses/{sha}","languages_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/languages","stargazers_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/stargazers","contributors_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/contributors","subscribers_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/subscribers","subscription_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/subscription","commits_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/commits{/sha}","git_commits_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/git/commits{/sha}","comments_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/comments{/number}","issue_comment_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/comments{/number}","contents_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/contents/{+path}","compare_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/merges","archive_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/downloads","issues_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues{/number}","pulls_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls{/number}","milestones_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/milestones{/number}","notifications_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/labels{/name}","releases_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/releases{/id}","deployments_url":"https://api.github.com/repos/kkyopa/PHP-oneluck/deployments","created_at":"2018-11-20T06:59:55Z","updated_at":"2018-12-13T05:05:43Z","pushed_at":"2018-12-18T09:05:55Z","git_url":"git://github.com/kkyopa/PHP-oneluck.git","ssh_url":"git@github.com:kkyopa/PHP-oneluck.git","clone_url":"https://github.com/kkyopa/PHP-oneluck.git","svn_url":"https://github.com/kkyopa/PHP-oneluck","homepage":null,"size":394,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":3,"license":null,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19"},"html":{"href":"https://github.com/kkyopa/PHP-oneluck/pull/19"},"issue":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/19"},"comments":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/issues/19/comments"},"review_comments":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19/comments"},"review_comment":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/pulls/19/commits"},"statuses":{"href":"https://api.github.com/repos/kkyopa/PHP-oneluck/statuses/3bb272819e3be2ecb17cf15e17c74bab3f766462"}},"author_association":"OWNER"}}
{"actor":{"display_login":"orihara-ori"}}