]> git.mjollnir.org Git - moodle.git/commitdiff
fix for 5438 merged
authortoyomoyo <toyomoyo>
Mon, 8 May 2006 07:09:28 +0000 (07:09 +0000)
committertoyomoyo <toyomoyo>
Mon, 8 May 2006 07:09:28 +0000 (07:09 +0000)
blocks/rss_client/block_rss_client_action.php

index 85a2df15a6180c09011b548198a847b08830b49c..cee89a65042d7840afb0bf71c6bb30e9a5891d8e 100644 (file)
@@ -27,6 +27,7 @@ if (isguest()) {
     error(get_string('noguestpost', 'forum'), $referrer);
 }
 
+$url = optional_param('url','',PARAM_URL);
 
 if (!empty($url)) {
     // attempting to replace feed and rss url types with http
@@ -41,7 +42,7 @@ if (!empty($url)) {
 $act            = optional_param('act', NULL, PARAM_ALPHA);
 $rssid          = optional_param('rssid', NULL, PARAM_INT);
 $id             = optional_param('id', SITEID, PARAM_INT);
-$url            = clean_param($url, PARAM_URL);
+//$url            = clean_param($url, PARAM_URL);
 $preferredtitle = optional_param('preferredtitle', '', PARAM_ALPHA);
 
 if (!defined('MAGPIE_OUTPUT_ENCODING')) {