{"action":"closed","issue":{"url":"https://api.github.com/repos/constantcontact/.net-sdk/issues/20","labels_url":"https://api.github.com/repos/constantcontact/.net-sdk/issues/20/labels{/name}","comments_url":"https://api.github.com/repos/constantcontact/.net-sdk/issues/20/comments","events_url":"https://api.github.com/repos/constantcontact/.net-sdk/issues/20/events","html_url":"https://github.com/constantcontact/.net-sdk/issues/20","id":24260391,"number":20,"title":"GetContacts method does not URL encode parameters (specifically email address).","user":{"login":"driedl","id":3268596,"avatar_url":"https://avatars.githubusercontent.com/u/3268596?v=3","gravatar_id":"","url":"https://api.github.com/users/driedl","html_url":"https://github.com/driedl","followers_url":"https://api.github.com/users/driedl/followers","following_url":"https://api.github.com/users/driedl/following{/other_user}","gists_url":"https://api.github.com/users/driedl/gists{/gist_id}","starred_url":"https://api.github.com/users/driedl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/driedl/subscriptions","organizations_url":"https://api.github.com/users/driedl/orgs","repos_url":"https://api.github.com/users/driedl/repos","events_url":"https://api.github.com/users/driedl/events{/privacy}","received_events_url":"https://api.github.com/users/driedl/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/constantcontact/.net-sdk/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/constantcontact/.net-sdk/labels/duplicate","name":"duplicate","color":"cccccc"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2013-12-13T17:29:59Z","updated_at":"2015-02-12T22:38:57Z","closed_at":"2015-02-12T22:38:57Z","body":"So I'm pretty sure i've uncovered a larger issue with the SDK that should be looked into. That is, when the SDK created its URLS to pass though to the API, it does not URL encode critical parameters. In my case, its the email address on calls to GetContacts(string email, ...)\r\n\r\nIt is VERY common these days for emails to have the \"+\" symbol ever since gmail has supported the \"myemail+[anything]@gmail.com\" as a way to set up inbox rules...\r\n\r\nWhen you fix this bug, i'd consider sweeping the code for all cases where you generate urls from userdata and make sure they get url encoded."}}