MDL-58220 oauth2: tighten the param types

These come from external sources - but still should not contain crazy stuff.
This commit is contained in:
Damyon Wiese
2017-04-03 13:43:26 +08:00
parent 440df5fb7f
commit 68ecf7635b
+1 -1
View File
@@ -49,7 +49,7 @@ class endpoint extends persistent {
'type' => PARAM_INT
),
'name' => array(
'type' => PARAM_RAW,
'type' => PARAM_ALPHANUMEXT,
),
'url' => array(
'type' => PARAM_URL,