mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
MDL-58220 oauth2: tighten the param types
These come from external sources - but still should not contain crazy stuff.
This commit is contained in:
parent
440df5fb7f
commit
68ecf7635b
@ -49,7 +49,7 @@ class endpoint extends persistent {
|
||||
'type' => PARAM_INT
|
||||
),
|
||||
'name' => array(
|
||||
'type' => PARAM_RAW,
|
||||
'type' => PARAM_ALPHANUMEXT,
|
||||
),
|
||||
'url' => array(
|
||||
'type' => PARAM_URL,
|
||||
|
Loading…
x
Reference in New Issue
Block a user