Client connections setting headers incorrectly
Bug #1894756 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If using a client connection and you turn on use headers and supply a header it fails to work
Scenario
Mahara is trying to call a webservice connection via a client_connection via REST protocol to an external site but the external site is behind basic authentication so you choose the 'use headers' option and put in a basic auth header, eg "Authorization: Basic dGVtcDpBZTlhZWtveg" but it fails to work.
The problem is the code for adding this to the $auth array mixes up parts of the wstoken and the header so breaking the call
description: | updated |
Changed in mahara: | |
milestone: | none → 20.10.0 |
importance: | Undecided → Medium |
status: | New → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Patch for "master" branch: https:/ /reviews. mahara. org/11237