Skip to content

Request.get_normalized_parameters() is sorting and encoding parameters in the wrong order. #75

Description

@gorakhargosh

The OAuth 1.0 spec at http://tools.ietf.org/html/rfc5849#section-3.4.1.3.2
clearly states that the encoding is done before the sorting.
python-oauth2 sorts before encoding. Also the tests for this routine
are incorrect.

Please fix this line to sort after encoding.
https://github.com/simplegeo/python-oauth2/blob/master/oauth2/__init__.py#L476

Cheers!
Gora Khargosh.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions