mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
rss MDLSITE-1007 now running clean_param() over the user token
This commit is contained in:
parent
b276cf9ed1
commit
83b912e0ed
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue