mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
fix for 5438 merged
This commit is contained in:
parent
7eaf5045ce
commit
f1f5ec3773
@ -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')) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user