Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b276cf9
)
rss MDLSITE-1007 now running clean_param() over the user token
author
Andrew Davis
<andrew@affinitysoftware.net>
Mon, 4 Oct 2010 06:56:51 +0000
(06:56 +0000)
committer
Andrew Davis
<andrew@affinitysoftware.net>
Mon, 4 Oct 2010 06:56:51 +0000
(06:56 +0000)
rss/file.php
patch
|
blob
|
blame
|
history
diff --git
a/rss/file.php
b/rss/file.php
index
4f59eb0
..
3963b79
100644
(file)
--- a/
rss/file.php
+++ b/
rss/file.php
@@
-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);