{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/comments/57892968","id":57892968,"diff_hunk":"@@ -1001,8 +997,7 @@ protected function grantAccessTokenExtension(IOAuth2Client $client, array $input\n         if (!($this->storage instanceof IOAuth2GrantExtension)) {\n             throw new OAuth2ServerException(self::HTTP_BAD_REQUEST, self::ERROR_UNSUPPORTED_GRANT_TYPE);\n         }\n-        $uri = filter_var($inputData[\"grant_type\"], FILTER_VALIDATE_URL);","path":"lib/OAuth2.php","position":28,"original_position":28,"commit_id":"4b9072b29235bfbdf0c4718c35855c331178e6ea","original_commit_id":"4b9072b29235bfbdf0c4718c35855c331178e6ea","user":{"login":"Ener-Getick","id":6871899,"avatar_url":"https://avatars.githubusercontent.com/u/6871899?v=3","gravatar_id":"","url":"https://api.github.com/users/Ener-Getick","html_url":"https://github.com/Ener-Getick","followers_url":"https://api.github.com/users/Ener-Getick/followers","following_url":"https://api.github.com/users/Ener-Getick/following{/other_user}","gists_url":"https://api.github.com/users/Ener-Getick/gists{/gist_id}","starred_url":"https://api.github.com/users/Ener-Getick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Ener-Getick/subscriptions","organizations_url":"https://api.github.com/users/Ener-Getick/orgs","repos_url":"https://api.github.com/users/Ener-Getick/repos","events_url":"https://api.github.com/users/Ener-Getick/events{/privacy}","received_events_url":"https://api.github.com/users/Ener-Getick/received_events","type":"User","site_admin":false},"body":"why did you remove this ?","created_at":"2016-03-30T14:01:55Z","updated_at":"2016-03-30T14:01:55Z","html_url":"https://github.com/FriendsOfSymfony/oauth2-php/pull/79#discussion_r57892968","pull_request_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/comments/57892968"},"html":{"href":"https://github.com/FriendsOfSymfony/oauth2-php/pull/79#discussion_r57892968"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79","id":41628126,"html_url":"https://github.com/FriendsOfSymfony/oauth2-php/pull/79","diff_url":"https://github.com/FriendsOfSymfony/oauth2-php/pull/79.diff","patch_url":"https://github.com/FriendsOfSymfony/oauth2-php/pull/79.patch","issue_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues/79","number":79,"state":"open","locked":false,"title":"Support for JWT Bearer ","user":{"login":"kralos","id":1563856,"avatar_url":"https://avatars.githubusercontent.com/u/1563856?v=3","gravatar_id":"","url":"https://api.github.com/users/kralos","html_url":"https://github.com/kralos","followers_url":"https://api.github.com/users/kralos/followers","following_url":"https://api.github.com/users/kralos/following{/other_user}","gists_url":"https://api.github.com/users/kralos/gists{/gist_id}","starred_url":"https://api.github.com/users/kralos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kralos/subscriptions","organizations_url":"https://api.github.com/users/kralos/orgs","repos_url":"https://api.github.com/users/kralos/repos","events_url":"https://api.github.com/users/kralos/events{/privacy}","received_events_url":"https://api.github.com/users/kralos/received_events","type":"User","site_admin":false},"body":"https://tools.ietf.org/html/draft-ietf-oauth-jwt-bearer-12\r\n\r\nPlease note, http://tools.ietf.org/html/draft-ietf-oauth-v2-20#section-4.5 refers to a URI which is defined as a URL or URN http://www.rfc-editor.org/rfc/rfc3305.txt","created_at":"2015-08-04T23:09:38Z","updated_at":"2016-03-30T14:01:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"67c2adca296656905669366c8b9ae322fcebc85c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79/commits","review_comments_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79/comments","review_comment_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues/79/comments","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/statuses/4b9072b29235bfbdf0c4718c35855c331178e6ea","head":{"label":"kralos:jwt","ref":"jwt","sha":"4b9072b29235bfbdf0c4718c35855c331178e6ea","user":{"login":"kralos","id":1563856,"avatar_url":"https://avatars.githubusercontent.com/u/1563856?v=3","gravatar_id":"","url":"https://api.github.com/users/kralos","html_url":"https://github.com/kralos","followers_url":"https://api.github.com/users/kralos/followers","following_url":"https://api.github.com/users/kralos/following{/other_user}","gists_url":"https://api.github.com/users/kralos/gists{/gist_id}","starred_url":"https://api.github.com/users/kralos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kralos/subscriptions","organizations_url":"https://api.github.com/users/kralos/orgs","repos_url":"https://api.github.com/users/kralos/repos","events_url":"https://api.github.com/users/kralos/events{/privacy}","received_events_url":"https://api.github.com/users/kralos/received_events","type":"User","site_admin":false},"repo":{"id":39986847,"name":"oauth2-php","full_name":"kralos/oauth2-php","owner":{"login":"kralos","id":1563856,"avatar_url":"https://avatars.githubusercontent.com/u/1563856?v=3","gravatar_id":"","url":"https://api.github.com/users/kralos","html_url":"https://github.com/kralos","followers_url":"https://api.github.com/users/kralos/followers","following_url":"https://api.github.com/users/kralos/following{/other_user}","gists_url":"https://api.github.com/users/kralos/gists{/gist_id}","starred_url":"https://api.github.com/users/kralos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kralos/subscriptions","organizations_url":"https://api.github.com/users/kralos/orgs","repos_url":"https://api.github.com/users/kralos/repos","events_url":"https://api.github.com/users/kralos/events{/privacy}","received_events_url":"https://api.github.com/users/kralos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kralos/oauth2-php","description":"A server implementation of OAuth 2.0","fork":true,"url":"https://api.github.com/repos/kralos/oauth2-php","forks_url":"https://api.github.com/repos/kralos/oauth2-php/forks","keys_url":"https://api.github.com/repos/kralos/oauth2-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kralos/oauth2-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kralos/oauth2-php/teams","hooks_url":"https://api.github.com/repos/kralos/oauth2-php/hooks","issue_events_url":"https://api.github.com/repos/kralos/oauth2-php/issues/events{/number}","events_url":"https://api.github.com/repos/kralos/oauth2-php/events","assignees_url":"https://api.github.com/repos/kralos/oauth2-php/assignees{/user}","branches_url":"https://api.github.com/repos/kralos/oauth2-php/branches{/branch}","tags_url":"https://api.github.com/repos/kralos/oauth2-php/tags","blobs_url":"https://api.github.com/repos/kralos/oauth2-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kralos/oauth2-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kralos/oauth2-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/kralos/oauth2-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kralos/oauth2-php/statuses/{sha}","languages_url":"https://api.github.com/repos/kralos/oauth2-php/languages","stargazers_url":"https://api.github.com/repos/kralos/oauth2-php/stargazers","contributors_url":"https://api.github.com/repos/kralos/oauth2-php/contributors","subscribers_url":"https://api.github.com/repos/kralos/oauth2-php/subscribers","subscription_url":"https://api.github.com/repos/kralos/oauth2-php/subscription","commits_url":"https://api.github.com/repos/kralos/oauth2-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/kralos/oauth2-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/kralos/oauth2-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/kralos/oauth2-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/kralos/oauth2-php/contents/{+path}","compare_url":"https://api.github.com/repos/kralos/oauth2-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kralos/oauth2-php/merges","archive_url":"https://api.github.com/repos/kralos/oauth2-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kralos/oauth2-php/downloads","issues_url":"https://api.github.com/repos/kralos/oauth2-php/issues{/number}","pulls_url":"https://api.github.com/repos/kralos/oauth2-php/pulls{/number}","milestones_url":"https://api.github.com/repos/kralos/oauth2-php/milestones{/number}","notifications_url":"https://api.github.com/repos/kralos/oauth2-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kralos/oauth2-php/labels{/name}","releases_url":"https://api.github.com/repos/kralos/oauth2-php/releases{/id}","deployments_url":"https://api.github.com/repos/kralos/oauth2-php/deployments","created_at":"2015-07-31T04:38:00Z","updated_at":"2015-07-31T04:38:00Z","pushed_at":"2015-08-04T23:01:38Z","git_url":"git://github.com/kralos/oauth2-php.git","ssh_url":"git@github.com:kralos/oauth2-php.git","clone_url":"https://github.com/kralos/oauth2-php.git","svn_url":"https://github.com/kralos/oauth2-php","homepage":"","size":477,"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":"FriendsOfSymfony:master","ref":"master","sha":"b0e57e17c84175a51af01cef7bbb2961261c84ad","user":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars.githubusercontent.com/u/529709?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"repo":{"id":3001210,"name":"oauth2-php","full_name":"FriendsOfSymfony/oauth2-php","owner":{"login":"FriendsOfSymfony","id":529709,"avatar_url":"https://avatars.githubusercontent.com/u/529709?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfSymfony","html_url":"https://github.com/FriendsOfSymfony","followers_url":"https://api.github.com/users/FriendsOfSymfony/followers","following_url":"https://api.github.com/users/FriendsOfSymfony/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfSymfony/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfSymfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfSymfony/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfSymfony/orgs","repos_url":"https://api.github.com/users/FriendsOfSymfony/repos","events_url":"https://api.github.com/users/FriendsOfSymfony/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfSymfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfSymfony/oauth2-php","description":"A server implementation of OAuth 2.0","fork":true,"url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php","forks_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/forks","keys_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/teams","hooks_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/events","assignees_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/tags","blobs_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/languages","stargazers_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/subscription","commits_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/merges","archive_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/downloads","issues_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/releases{/id}","deployments_url":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/deployments","created_at":"2011-12-17T13:32:45Z","updated_at":"2016-03-27T22:28:59Z","pushed_at":"2016-01-13T19:47:20Z","git_url":"git://github.com/FriendsOfSymfony/oauth2-php.git","ssh_url":"git@github.com:FriendsOfSymfony/oauth2-php.git","clone_url":"https://github.com/FriendsOfSymfony/oauth2-php.git","svn_url":"https://github.com/FriendsOfSymfony/oauth2-php","homepage":"","size":533,"stargazers_count":128,"watchers_count":128,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":61,"mirror_url":null,"open_issues_count":17,"forks":61,"open_issues":17,"watchers":128,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79"},"html":{"href":"https://github.com/FriendsOfSymfony/oauth2-php/pull/79"},"issue":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues/79"},"comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/issues/79/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/pulls/79/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfSymfony/oauth2-php/statuses/4b9072b29235bfbdf0c4718c35855c331178e6ea"}}}}