OAuthRequest.from_consumer_and_token creates invalid parameters

Bug #426442 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Python oauth library
Unknown
Unknown
python-oauth (Ubuntu)
High
Martin Pitt

Bug Description

Binary package hint: python-oauth

As of r1092, the OAuthRequest.from_consumer_and_token method creates an invalid request, if the token does not have a verifier or callback defined. The attached patch solves this problem.

Revision history for this message
dobey (dobey) wrote :

This patch solves the issue of invalid OAuthRequests being constructed by from_consumer_and_token staticmethod. This patch has been submitted upstream as well.

Revision history for this message
dobey (dobey) wrote :

The upstream report is at the following link. For some reason Launchpad won't let me link it from this report as I normally can point to upstream bugs.

http://code.google.com/p/oauth/issues/detail?id=117

dobey (dobey)
Changed in python-oauth (Ubuntu):
importance: Undecided → High
Revision history for this message
Martin Pitt (pitti) wrote :

Taking for sponsoring

Changed in python-oauth (Ubuntu):
assignee: nobody → Martin Pitt (pitti)
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-oauth - 1.0~svn1092-0ubuntu2

---------------
python-oauth (1.0~svn1092-0ubuntu2) karmic; urgency=low

  * oauth/oauth.py: Fix invalid OAuthRequests being constructed by
    from_consumer_and_token staticmethod(). Patch from Rodney Dawes.
    (LP: #426442, http://code.google.com/p/oauth/issues/detail?id=117)

 -- Martin Pitt <email address hidden> Thu, 10 Sep 2009 17:45:33 +0200

Changed in python-oauth (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.