{"action":"created","issue":{"url":"https://api.github.com/repos/emarref/jwt/issues/22","repository_url":"https://api.github.com/repos/emarref/jwt","labels_url":"https://api.github.com/repos/emarref/jwt/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/emarref/jwt/issues/22/comments","events_url":"https://api.github.com/repos/emarref/jwt/issues/22/events","html_url":"https://github.com/emarref/jwt/issues/22","id":182433322,"number":22,"title":"json_encode method should use unescaped slashes","user":{"login":"samckittrick","id":1317600,"avatar_url":"https://avatars.githubusercontent.com/u/1317600?v=3","gravatar_id":"","url":"https://api.github.com/users/samckittrick","html_url":"https://github.com/samckittrick","followers_url":"https://api.github.com/users/samckittrick/followers","following_url":"https://api.github.com/users/samckittrick/following{/other_user}","gists_url":"https://api.github.com/users/samckittrick/gists{/gist_id}","starred_url":"https://api.github.com/users/samckittrick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samckittrick/subscriptions","organizations_url":"https://api.github.com/users/samckittrick/orgs","repos_url":"https://api.github.com/users/samckittrick/repos","events_url":"https://api.github.com/users/samckittrick/events{/privacy}","received_events_url":"https://api.github.com/users/samckittrick/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-12T04:35:54Z","updated_at":"2016-10-12T06:09:35Z","closed_at":null,"body":"Some of our \"sub\" claims contain forward slashes. I noticed that when the signature is verified and the unsigned value is generated, the json_encode function was adding backslashes to the subject. \r\n\r\nI think the proper way to handle this would be to use \"return json_encode($properties, JSON_UNESCAPED_SLASHES);\""},"comment":{"url":"https://api.github.com/repos/emarref/jwt/issues/comments/253127836","html_url":"https://github.com/emarref/jwt/issues/22#issuecomment-253127836","issue_url":"https://api.github.com/repos/emarref/jwt/issues/22","id":253127836,"user":{"login":"emarref","id":556594,"avatar_url":"https://avatars.githubusercontent.com/u/556594?v=3","gravatar_id":"","url":"https://api.github.com/users/emarref","html_url":"https://github.com/emarref","followers_url":"https://api.github.com/users/emarref/followers","following_url":"https://api.github.com/users/emarref/following{/other_user}","gists_url":"https://api.github.com/users/emarref/gists{/gist_id}","starred_url":"https://api.github.com/users/emarref/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emarref/subscriptions","organizations_url":"https://api.github.com/users/emarref/orgs","repos_url":"https://api.github.com/users/emarref/repos","events_url":"https://api.github.com/users/emarref/events{/privacy}","received_events_url":"https://api.github.com/users/emarref/received_events","type":"User","site_admin":false},"created_at":"2016-10-12T06:09:35Z","updated_at":"2016-10-12T06:09:35Z","body":"Hi, thanks for opening this issue. We are aware of this problem after diagnosing and discussing it in #21. Will track the progress here. "}}
{"actor":{"display_login":"emarref"}}