Commits

Vladimir Mihailenco committed 3ae3f75

Only encode GET parameters

  • Participants
  • Parent commits f256d08

Comments (0)

Files changed (1)

File oauth_provider/utils.py

         auth_header = {'Authorization': request.META['HTTP_AUTHORIZATION']}
 
     parameters = dict((k, v.encode('utf-8'))
-                      for (k, v) in request.REQUEST.iteritems())
+                      for (k, v) in request.GET.iteritems())
     return oauth.Request.from_request(request.method,
         request.build_absolute_uri(),
         headers=auth_header,