{"action":"created","issue":{"url":"https://api.github.com/repos/SciDevs/delicious-api/issues/25","labels_url":"https://api.github.com/repos/SciDevs/delicious-api/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/SciDevs/delicious-api/issues/25/comments","events_url":"https://api.github.com/repos/SciDevs/delicious-api/issues/25/events","html_url":"https://github.com/SciDevs/delicious-api/issues/25","id":35202014,"number":25,"title":"OAuth2 redirect should handle existing URL parameters","user":{"login":"voltagex","id":159567,"avatar_url":"https://avatars.githubusercontent.com/u/159567?v=3","gravatar_id":"","url":"https://api.github.com/users/voltagex","html_url":"https://github.com/voltagex","followers_url":"https://api.github.com/users/voltagex/followers","following_url":"https://api.github.com/users/voltagex/following{/other_user}","gists_url":"https://api.github.com/users/voltagex/gists{/gist_id}","starred_url":"https://api.github.com/users/voltagex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/voltagex/subscriptions","organizations_url":"https://api.github.com/users/voltagex/orgs","repos_url":"https://api.github.com/users/voltagex/repos","events_url":"https://api.github.com/users/voltagex/events{/privacy}","received_events_url":"https://api.github.com/users/voltagex/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-07T06:38:38Z","updated_at":"2015-01-23T19:00:36Z","closed_at":null,"body":"If the redirect already has a query string, e.g. ```https://example.com/?someparam=somevalue```\r\n\r\nand I construct the authorize URL as ```https://delicious.com/auth/authorize?client_id=a_client_id&redirect=https%3A%2F%2Fexample.com%2F%3Fsomeparam%3Dsomevalue```, I'm redirected to https://example.com/?someparam=somevalue?code=a_code rather than the correct value of https://example.com/?someparam=somevalue&code=a_code\r\n\r\n\r\nBonus bug: redirect is a required parameter in the documentation, but the authorize page still loads without it."},"comment":{"url":"https://api.github.com/repos/SciDevs/delicious-api/issues/comments/71245486","html_url":"https://github.com/SciDevs/delicious-api/issues/25#issuecomment-71245486","issue_url":"https://api.github.com/repos/SciDevs/delicious-api/issues/25","id":71245486,"user":{"login":"peoplemerge","id":185873,"avatar_url":"https://avatars.githubusercontent.com/u/185873?v=3","gravatar_id":"","url":"https://api.github.com/users/peoplemerge","html_url":"https://github.com/peoplemerge","followers_url":"https://api.github.com/users/peoplemerge/followers","following_url":"https://api.github.com/users/peoplemerge/following{/other_user}","gists_url":"https://api.github.com/users/peoplemerge/gists{/gist_id}","starred_url":"https://api.github.com/users/peoplemerge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peoplemerge/subscriptions","organizations_url":"https://api.github.com/users/peoplemerge/orgs","repos_url":"https://api.github.com/users/peoplemerge/repos","events_url":"https://api.github.com/users/peoplemerge/events{/privacy}","received_events_url":"https://api.github.com/users/peoplemerge/received_events","type":"User","site_admin":false},"created_at":"2015-01-23T19:00:36Z","updated_at":"2015-01-23T19:00:36Z","body":"Should just need to urlencode the &code=a_code"}}