MDL-58220 oauth2: tighten the param types
These come from external sources - but still should not contain crazy stuff.
This commit is contained in:
@@ -49,7 +49,7 @@ class endpoint extends persistent {
|
||||
'type' => PARAM_INT
|
||||
),
|
||||
'name' => array(
|
||||
'type' => PARAM_RAW,
|
||||
'type' => PARAM_ALPHANUMEXT,
|
||||
),
|
||||
'url' => array(
|
||||
'type' => PARAM_URL,
|
||||
|
||||
Reference in New Issue
Block a user