{"action":"closed","issue":{"url":"https://api.github.com/repos/danielcrenna/hammock/issues/90","labels_url":"https://api.github.com/repos/danielcrenna/hammock/issues/90/labels{/name}","comments_url":"https://api.github.com/repos/danielcrenna/hammock/issues/90/comments","events_url":"https://api.github.com/repos/danielcrenna/hammock/issues/90/events","html_url":"https://github.com/danielcrenna/hammock/issues/90","id":91234007,"number":90,"title":"Character Encoding - %","user":{"login":"rakkeh","id":3251654,"avatar_url":"https://avatars.githubusercontent.com/u/3251654?v=3","gravatar_id":"","url":"https://api.github.com/users/rakkeh","html_url":"https://github.com/rakkeh","followers_url":"https://api.github.com/users/rakkeh/followers","following_url":"https://api.github.com/users/rakkeh/following{/other_user}","gists_url":"https://api.github.com/users/rakkeh/gists{/gist_id}","starred_url":"https://api.github.com/users/rakkeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rakkeh/subscriptions","organizations_url":"https://api.github.com/users/rakkeh/orgs","repos_url":"https://api.github.com/users/rakkeh/repos","events_url":"https://api.github.com/users/rakkeh/events{/privacy}","received_events_url":"https://api.github.com/users/rakkeh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-26T12:04:46Z","updated_at":"2015-06-26T23:39:57Z","closed_at":"2015-06-26T23:39:57Z","body":"The strict encoding method still is incorrect, the string encoding method is a little messy in that it tries to prevent encoding things twice, to do this it the existing version does not encode the `%` symbol, however relies on finding `%%` to encode `%` in the original string.\r\n\r\nThis causes certain situations including a % to incorrectly encode.\r\n% at the end of the string, or % followed by an unreserved character will fail authentication.\r\n\r\nEasily replicable with tweetsharp using:\r\n```\r\nTwitterService service = new TwitterService(XX, XX, XX, XX);\r\nservice.SendTweet(new SendTweetOptions { Status = \"%A\" });\r\nConsole.WriteLine(service.Response.Error);\r\nConsole.Read();\r\n```"}}