diff --git a/lib/classes/oauth2/endpoint.php b/lib/classes/oauth2/endpoint.php index 921f9a0e8da..21451966180 100644 --- a/lib/classes/oauth2/endpoint.php +++ b/lib/classes/oauth2/endpoint.php @@ -49,7 +49,7 @@ class endpoint extends persistent { 'type' => PARAM_INT ), 'name' => array( - 'type' => PARAM_RAW, + 'type' => PARAM_ALPHANUMEXT, ), 'url' => array( 'type' => PARAM_URL,