mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
rss MDLSITE-1007 now running clean_param() over the user token
This commit is contained in:
parent
b276cf9ed1
commit
83b912e0ed
@ -58,7 +58,7 @@ if (count($args) < 5) {
|
||||
}
|
||||
|
||||
$contextid = (int)$args[0];
|
||||
$token = $args[1];
|
||||
$token = clean_param($args[1], PARAM_ALPHANUM);
|
||||
$componentname = clean_param($args[2], PARAM_FILE);
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user