| Summary: | incorrect oauth string for requests with multiple parameters having same name | ||
|---|---|---|---|
| Product: | [Retired] Pulp | Reporter: | Tomas Strachota <tstrachota> |
| Component: | z_other | Assignee: | Jason Connor <jconnor> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 1.0.0 | CC: | mmccune, tsanders |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | Sprint 30 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-25 14:13:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tomas Strachota
2011-10-27 11:47:55 UTC
According to my investigation I guess the problem is in python oauth implementation. Function _split_url_string in http://oauth.googlecode.com/svn/code/python/oauth/oauth.py parses the query parameters and saves them into a hash. We've solved this by going to a patched version of oauth2: 1.5.170 build: 0.255 testing 1. add oauth credential to admin 2. use curl or wget to fetch the url http://localhost/pulp/api/tasks/?state=waiting&state=running along with the oauth credentials 3. success: list of task in the waiting or running state failure: authentication failure verified Pulp v1.1 Release |