Sanitize data
This commit is contained in:
parent
e89a410e59
commit
d1d4914684
@ -65,7 +65,7 @@ if (!$section)
|
||||
dol_print_error('', 'Error, section parameter missing');
|
||||
exit;
|
||||
}
|
||||
$urlfile = GETPOST("urlfile");
|
||||
$urlfile = (string) dol_sanitizePathName(GETPOST("urlfile"));
|
||||
if (!$urlfile)
|
||||
{
|
||||
dol_print_error('', "ErrorParamNotDefined");
|
||||
|
||||
Loading…
Reference in New Issue
Block a user