Merge lp://staging/~mbp/launchpad/314507-oauth into lp://staging/launchpad
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12127 |
Proposed branch: | lp://staging/~mbp/launchpad/314507-oauth |
Merge into: | lp://staging/launchpad |
Diff against target: |
72 lines (+35/-3) 2 files modified
lib/canonical/launchpad/webapp/tests/test_authentication.py (+27/-0) lib/contrib/oauth.py (+8/-3) |
To merge this branch: | bzr merge lp://staging/~mbp/launchpad/314507-oauth |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email:
|
Commit message
[r=lifeless]
Description of the change
This is a fix for <https:/
The bug is in contrib/oauth.py. Perhaps the fix should be sent upstream but there is no copyright statement on this file.
I added unit tests in what seems like the most reasonable place, given that oauth.py itself doesn't have a test case.
I've manually tested this locally by running
curl -k -v -H 'Authorization: OAuth oauth_consumer_
Against production launchpad, this is treated as anonymous/
I think this is fine but I'm struggling to understand why the old behaviour occured.