MDL-35991 - use PARAM_LOCALURL for local urls
Conflicts: user/files.php
This commit is contained in:
committed by
Dan Poltawski
parent
4e805e91c7
commit
b0f20bc995
@@ -34,7 +34,7 @@ $action = optional_param('action', '', PARAM_ALPHA);
|
||||
$area = optional_param('area', '', PARAM_AREA);
|
||||
$content = optional_param('content', '', PARAM_RAW);
|
||||
$itemid = optional_param('itemid', '', PARAM_INT);
|
||||
$returnurl = optional_param('returnurl', '/', PARAM_URL);
|
||||
$returnurl = optional_param('returnurl', '/', PARAM_LOCALURL);
|
||||
$component = optional_param('component', '', PARAM_COMPONENT);
|
||||
|
||||
// Currently this script can only add comments
|
||||
|
||||
Reference in New Issue
Block a user