Machines REST API fails to parse postman OAuth token
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Requests from POSTman such as below:
===========
POST /MAAS/api/
Host: maas:5240
Accept: application/json
Authorization: OAuth oauth_consumer_
cache-control: no-cache
Postman-Token: 9371c223-
===========
Fail b/c extract_
Related branches
- Blake Rouse (community): Approve
-
Diff: 60 lines (+24/-8)2 files modifiedsrc/maasserver/api/tests/test_utils.py (+8/-1)
src/maasserver/api/utils.py (+16/-7)
Changed in maas: | |
milestone: | none → next |
status: | New → Fix Committed |
Changed in maas: | |
milestone: | next → 2.6.0rc1 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
Commit to address this:
https:/ /github. com/maas/ maas/pull/ 4/commits/ 78a4415d45465cc 07f3b4d384df85e 110567d47f