{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/463","labels_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/463/comments","events_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/463/events","html_url":"https://github.com/thephpleague/oauth2-client/issues/463","id":117246533,"number":463,"title":"State code with special characters","user":{"login":"polibou","id":2907353,"avatar_url":"https://avatars.githubusercontent.com/u/2907353?v=3","gravatar_id":"","url":"https://api.github.com/users/polibou","html_url":"https://github.com/polibou","followers_url":"https://api.github.com/users/polibou/followers","following_url":"https://api.github.com/users/polibou/following{/other_user}","gists_url":"https://api.github.com/users/polibou/gists{/gist_id}","starred_url":"https://api.github.com/users/polibou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polibou/subscriptions","organizations_url":"https://api.github.com/users/polibou/orgs","repos_url":"https://api.github.com/users/polibou/repos","events_url":"https://api.github.com/users/polibou/events{/privacy}","received_events_url":"https://api.github.com/users/polibou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-16T23:49:19Z","updated_at":"2015-11-17T19:41:55Z","closed_at":null,"body":"I'm not an advance developer so I might not be understanding everything completely.  However, shouldn't the generated state string passed to the auth server be url_encoded?  I'm seeing instances where the state string contains a \"+\" symbol and using $_GET after returning from the auth server returns a string with spaces instead of the plus sign.  I assume there might be issues with other special characters."},"comment":{"url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/comments/157483956","html_url":"https://github.com/thephpleague/oauth2-client/issues/463#issuecomment-157483956","issue_url":"https://api.github.com/repos/thephpleague/oauth2-client/issues/463","id":157483956,"user":{"login":"polibou","id":2907353,"avatar_url":"https://avatars.githubusercontent.com/u/2907353?v=3","gravatar_id":"","url":"https://api.github.com/users/polibou","html_url":"https://github.com/polibou","followers_url":"https://api.github.com/users/polibou/followers","following_url":"https://api.github.com/users/polibou/following{/other_user}","gists_url":"https://api.github.com/users/polibou/gists{/gist_id}","starred_url":"https://api.github.com/users/polibou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/polibou/subscriptions","organizations_url":"https://api.github.com/users/polibou/orgs","repos_url":"https://api.github.com/users/polibou/repos","events_url":"https://api.github.com/users/polibou/events{/privacy}","received_events_url":"https://api.github.com/users/polibou/received_events","type":"User","site_admin":false},"created_at":"2015-11-17T19:41:55Z","updated_at":"2015-11-17T19:41:55Z","body":"Ahh great.  It must be the server I'm testing against that is returning it back un-encoded.  I'm working with an API still in beta.  Thanks for clearing it up."}}