OAuth support doesn't handle query parameters

Bug #781538 reported by Michael Terry
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntuone-couch
Fix Released
Undecided
Unassigned
ubuntuone-couch (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: ubuntuone-couch

Using the following code:

import ubuntuone.couch.auth as auth
print auth.request("https://one.ubuntu.com/api/file_storage/v1/~/%s" % urllib.quote("Ubuntu One"))
print auth.request("https://one.ubuntu.com/api/file_storage/v1/~/%s" % urllib.quote("Ubuntu One?include_children=true"))

The first succeeds, but the second gives me the contents of https://one.ubuntu.com/auth/login/?next=/api/file_storage/v1/%7E/Ubuntu%20One%3Finclude_children%3Dtrue

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ubuntuone-couch 0.2.0-0ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-8.42-generic 2.6.38.2
Uname: Linux 2.6.38-8-generic i686
Architecture: i386
Date: Thu May 12 10:21:28 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110422)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US:en
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntuone-couch
UpgradeStatus: No upgrade log present (probably fresh install)

Related branches

Revision history for this message
Michael Terry (mterry) wrote :
Changed in ubuntuone-couch:
status: New → Fix Committed
Michael Terry (mterry)
Changed in ubuntuone-couch:
status: Fix Committed → Fix Released
Changed in ubuntuone-couch (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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