Permalink
Browse files

MDL-41623 ensure all rss links are valid urls.

  • Loading branch information...
stronk7 committed Sep 6, 2013
1 parent 2d269d8 commit 0694d65e7e4f9f7049ceaf7a06b47dc738b1f110
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/simplepie/moodle_simplepie.php
@@ -197,6 +197,7 @@ public function sanitize($data, $type, $base = '') {
if ($absolute !== false) {
$data = $absolute;
}
+ $data = clean_param($data, PARAM_URL);
}
if ($type & (SIMPLEPIE_CONSTRUCT_TEXT | SIMPLEPIE_CONSTRUCT_IRI)) {

0 comments on commit 0694d65

Please sign in to comment.