Sanitize data
This commit is contained in:
parent
e89a410e59
commit
d1d4914684
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue