MDL-58220 oauth2: use PARAM_RAW_TRIMMED
Client ID and secret and copy/pasted from elsewhere so trim them.
This commit is contained in:
@@ -53,11 +53,11 @@ class issuer extends persistent {
|
||||
'default' => null
|
||||
),
|
||||
'clientid' => array(
|
||||
'type' => PARAM_RAW,
|
||||
'type' => PARAM_RAW_TRIMMED,
|
||||
'default' => ''
|
||||
),
|
||||
'clientsecret' => array(
|
||||
'type' => PARAM_RAW,
|
||||
'type' => PARAM_RAW_TRIMMED,
|
||||
'default' => ''
|
||||
),
|
||||
'baseurl' => array(
|
||||
|
||||
Reference in New Issue
Block a user