{"action":"closed","number":127,"pull_request":{"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/127","id":230853986,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwODUzOTg2","html_url":"https://github.com/Tmeister/wp-api-jwt-auth/pull/127","diff_url":"https://github.com/Tmeister/wp-api-jwt-auth/pull/127.diff","patch_url":"https://github.com/Tmeister/wp-api-jwt-auth/pull/127.patch","issue_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/127","number":127,"state":"closed","locked":false,"title":"Add slashes to wp_authenticate() arguments.","user":{"login":"johanee","id":8500628,"node_id":"MDQ6VXNlcjg1MDA2Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/8500628?v=4","gravatar_id":"","url":"https://api.github.com/users/johanee","html_url":"https://github.com/johanee","followers_url":"https://api.github.com/users/johanee/followers","following_url":"https://api.github.com/users/johanee/following{/other_user}","gists_url":"https://api.github.com/users/johanee/gists{/gist_id}","starred_url":"https://api.github.com/users/johanee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanee/subscriptions","organizations_url":"https://api.github.com/users/johanee/orgs","repos_url":"https://api.github.com/users/johanee/repos","events_url":"https://api.github.com/users/johanee/events{/privacy}","received_events_url":"https://api.github.com/users/johanee/received_events","type":"User","site_admin":false},"body":"`wp_authenticate()` expect arguments to have \"slashed\" data[1] (`\"` encoded as `\\\"`), but WP REST parameters are unslashed[2].\r\n\r\nUse wp_slash() on username and password before calling wp_authenticate().\r\n\r\n[1] See `wp_signon()` usage in [trac](https://core.trac.wordpress.org/browser/tags/4.9.8/src/wp-includes/user.php#L33) where slashed `$_POST` data is used directly.\r\n[2] https://make.wordpress.org/core/2016/04/06/rest-api-slashed-data-in-wordpress-4-4-and-4-5/","created_at":"2018-11-14T14:26:00Z","updated_at":"2019-03-06T00:09:11Z","closed_at":"2019-03-06T00:09:11Z","merged_at":"2019-03-06T00:09:11Z","merge_commit_sha":"63c7e5d9cfd3ed9f076c486917681a1ce3ae2ed4","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/127/commits","review_comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/127/comments","review_comment_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/127/comments","statuses_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/statuses/44a5ad9d88a55d3b778ca36c970dfb7d6c61d366","head":{"label":"johanee:add-slashes-to-authentication-data","ref":"add-slashes-to-authentication-data","sha":"44a5ad9d88a55d3b778ca36c970dfb7d6c61d366","user":{"login":"johanee","id":8500628,"node_id":"MDQ6VXNlcjg1MDA2Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/8500628?v=4","gravatar_id":"","url":"https://api.github.com/users/johanee","html_url":"https://github.com/johanee","followers_url":"https://api.github.com/users/johanee/followers","following_url":"https://api.github.com/users/johanee/following{/other_user}","gists_url":"https://api.github.com/users/johanee/gists{/gist_id}","starred_url":"https://api.github.com/users/johanee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanee/subscriptions","organizations_url":"https://api.github.com/users/johanee/orgs","repos_url":"https://api.github.com/users/johanee/repos","events_url":"https://api.github.com/users/johanee/events{/privacy}","received_events_url":"https://api.github.com/users/johanee/received_events","type":"User","site_admin":false},"repo":{"id":157554733,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1NTQ3MzM=","name":"wp-api-jwt-auth","full_name":"johanee/wp-api-jwt-auth","private":false,"owner":{"login":"johanee","id":8500628,"node_id":"MDQ6VXNlcjg1MDA2Mjg=","avatar_url":"https://avatars2.githubusercontent.com/u/8500628?v=4","gravatar_id":"","url":"https://api.github.com/users/johanee","html_url":"https://github.com/johanee","followers_url":"https://api.github.com/users/johanee/followers","following_url":"https://api.github.com/users/johanee/following{/other_user}","gists_url":"https://api.github.com/users/johanee/gists{/gist_id}","starred_url":"https://api.github.com/users/johanee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/johanee/subscriptions","organizations_url":"https://api.github.com/users/johanee/orgs","repos_url":"https://api.github.com/users/johanee/repos","events_url":"https://api.github.com/users/johanee/events{/privacy}","received_events_url":"https://api.github.com/users/johanee/received_events","type":"User","site_admin":false},"html_url":"https://github.com/johanee/wp-api-jwt-auth","description":"A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API","fork":true,"url":"https://api.github.com/repos/johanee/wp-api-jwt-auth","forks_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/forks","keys_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/teams","hooks_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/hooks","issue_events_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/issues/events{/number}","events_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/events","assignees_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/assignees{/user}","branches_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/branches{/branch}","tags_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/tags","blobs_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/languages","stargazers_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/stargazers","contributors_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/contributors","subscribers_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/subscribers","subscription_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/subscription","commits_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/contents/{+path}","compare_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/merges","archive_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/downloads","issues_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/issues{/number}","pulls_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/labels{/name}","releases_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/releases{/id}","deployments_url":"https://api.github.com/repos/johanee/wp-api-jwt-auth/deployments","created_at":"2018-11-14T13:43:02Z","updated_at":"2018-11-14T13:43:04Z","pushed_at":"2018-11-14T14:14:24Z","git_url":"git://github.com/johanee/wp-api-jwt-auth.git","ssh_url":"git@github.com:johanee/wp-api-jwt-auth.git","clone_url":"https://github.com/johanee/wp-api-jwt-auth.git","svn_url":"https://github.com/johanee/wp-api-jwt-auth","homepage":"","size":4276,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"Tmeister:v1.3","ref":"v1.3","sha":"ac6105f60c7373f2a6c2c0a43c1eb070afd22c24","user":{"login":"Tmeister","id":210349,"node_id":"MDQ6VXNlcjIxMDM0OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/210349?v=4","gravatar_id":"","url":"https://api.github.com/users/Tmeister","html_url":"https://github.com/Tmeister","followers_url":"https://api.github.com/users/Tmeister/followers","following_url":"https://api.github.com/users/Tmeister/following{/other_user}","gists_url":"https://api.github.com/users/Tmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmeister/subscriptions","organizations_url":"https://api.github.com/users/Tmeister/orgs","repos_url":"https://api.github.com/users/Tmeister/repos","events_url":"https://api.github.com/users/Tmeister/events{/privacy}","received_events_url":"https://api.github.com/users/Tmeister/received_events","type":"User","site_admin":false},"repo":{"id":39872221,"node_id":"MDEwOlJlcG9zaXRvcnkzOTg3MjIyMQ==","name":"wp-api-jwt-auth","full_name":"Tmeister/wp-api-jwt-auth","private":false,"owner":{"login":"Tmeister","id":210349,"node_id":"MDQ6VXNlcjIxMDM0OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/210349?v=4","gravatar_id":"","url":"https://api.github.com/users/Tmeister","html_url":"https://github.com/Tmeister","followers_url":"https://api.github.com/users/Tmeister/followers","following_url":"https://api.github.com/users/Tmeister/following{/other_user}","gists_url":"https://api.github.com/users/Tmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmeister/subscriptions","organizations_url":"https://api.github.com/users/Tmeister/orgs","repos_url":"https://api.github.com/users/Tmeister/repos","events_url":"https://api.github.com/users/Tmeister/events{/privacy}","received_events_url":"https://api.github.com/users/Tmeister/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Tmeister/wp-api-jwt-auth","description":"A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API","fork":false,"url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth","forks_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/forks","keys_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/teams","hooks_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/hooks","issue_events_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/events{/number}","events_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/events","assignees_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/assignees{/user}","branches_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/branches{/branch}","tags_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/tags","blobs_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/statuses/{sha}","languages_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/languages","stargazers_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/stargazers","contributors_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/contributors","subscribers_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/subscribers","subscription_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/subscription","commits_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/contents/{+path}","compare_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/merges","archive_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/downloads","issues_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues{/number}","pulls_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls{/number}","milestones_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/milestones{/number}","notifications_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/labels{/name}","releases_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/releases{/id}","deployments_url":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/deployments","created_at":"2015-07-29T03:58:36Z","updated_at":"2019-03-05T23:50:37Z","pushed_at":"2019-03-06T00:09:11Z","git_url":"git://github.com/Tmeister/wp-api-jwt-auth.git","ssh_url":"git@github.com:Tmeister/wp-api-jwt-auth.git","clone_url":"https://github.com/Tmeister/wp-api-jwt-auth.git","svn_url":"https://github.com/Tmeister/wp-api-jwt-auth","homepage":"","size":4284,"stargazers_count":264,"watchers_count":264,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":79,"mirror_url":null,"archived":false,"open_issues_count":77,"license":{"key":"gpl-2.0","name":"GNU General Public License v2.0","spdx_id":"GPL-2.0","url":"https://api.github.com/licenses/gpl-2.0","node_id":"MDc6TGljZW5zZTg="},"forks":79,"open_issues":77,"watchers":264,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/127"},"html":{"href":"https://github.com/Tmeister/wp-api-jwt-auth/pull/127"},"issue":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/127"},"comments":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/issues/127/comments"},"review_comments":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/127/comments"},"review_comment":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/pulls/127/commits"},"statuses":{"href":"https://api.github.com/repos/Tmeister/wp-api-jwt-auth/statuses/44a5ad9d88a55d3b778ca36c970dfb7d6c61d366"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"Tmeister","id":210349,"node_id":"MDQ6VXNlcjIxMDM0OQ==","avatar_url":"https://avatars3.githubusercontent.com/u/210349?v=4","gravatar_id":"","url":"https://api.github.com/users/Tmeister","html_url":"https://github.com/Tmeister","followers_url":"https://api.github.com/users/Tmeister/followers","following_url":"https://api.github.com/users/Tmeister/following{/other_user}","gists_url":"https://api.github.com/users/Tmeister/gists{/gist_id}","starred_url":"https://api.github.com/users/Tmeister/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tmeister/subscriptions","organizations_url":"https://api.github.com/users/Tmeister/orgs","repos_url":"https://api.github.com/users/Tmeister/repos","events_url":"https://api.github.com/users/Tmeister/events{/privacy}","received_events_url":"https://api.github.com/users/Tmeister/received_events","type":"User","site_admin":false},"comments":2,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"Tmeister"}}