mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-41623 ensure all rss links are valid urls.
This commit is contained in:
parent
ba7b843c01
commit
d037dba81c
@ -198,6 +198,7 @@ class moodle_simplepie_sanitize extends SimplePie_Sanitize {
|
||||
if ($absolute !== false) {
|
||||
$data = $absolute;
|
||||
}
|
||||
$data = clean_param($data, PARAM_URL);
|
||||
}
|
||||
|
||||
if ($type & (SIMPLEPIE_CONSTRUCT_TEXT | SIMPLEPIE_CONSTRUCT_IRI)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user