Skip to content

Instantly share code, notes, and snippets.

@altendky
Created January 4, 2011 01:24
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save altendky/764265 to your computer and use it in GitHub Desktop.
Save altendky/764265 to your computer and use it in GitHub Desktop.
diff --git a/socialregistration/utils.py b/socialregistration/utils.py
--- a/socialregistration/utils.py
+++ b/socialregistration/utils.py
@@ -210,7 +210,7 @@
('oauth_callback', 'http://%s%s' % (Site.objects.get_current(),
reverse(self.callback_url))),
])
- request_token_url = '%s?%s' % (self.request_token_url, params)
+ request_token_url = '%s?%s' % (self.request_token_url, urllib.quote(params))
else:
request_token_url = self.request_token_url
response, content = self.client.request(request_token_url, "GET")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment