|
@@ -62,7 +62,7 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/files.lib.php';
|
|
|
|
|
|
|
|
|
|
$action=GETPOST('action','alpha');
|
|
$action=GETPOST('action','alpha');
|
|
-$original_file=GETPOST("file",'alpha');
|
|
|
|
|
|
+$original_file=GETPOST('file','alphanohtml'); // Do not use urldecode here ($_GET are already decoded by PHP).
|
|
$modulepart=GETPOST('modulepart','alpha');
|
|
$modulepart=GETPOST('modulepart','alpha');
|
|
$urlsource=GETPOST("urlsource",'alpha');
|
|
$urlsource=GETPOST("urlsource",'alpha');
|
|
$entity=GETPOST('entity','int')?GETPOST('entity','int'):$conf->entity;
|
|
$entity=GETPOST('entity','int')?GETPOST('entity','int'):$conf->entity;
|