mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #59890
[Bug 1894756] [NEW] Client connections setting headers incorrectly
Public bug reported:
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
** Affects: mahara
Importance: Undecided
Status: New
** Description changed:
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 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.
+
+ 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
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1894756
Title:
Client connections setting headers incorrectly
Status in Mahara:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1894756/+subscriptions
Follow ups