From: bradymiller Date: Fri, 8 Feb 2013 19:27:19 +0000 (-0800) Subject: Minor fix to commit fff1980dd0a7cfd88dfbf2d8f1acb1f4b53a929a X-Git-Tag: whats-been-changed~414 X-Git-Url: https://repo.or.cz/w/openemr.git/commitdiff_plain/8ac0bcda74f9478b698fe575c85206a9e4e4b01e Minor fix to commit fff1980dd0a7cfd88dfbf2d8f1acb1f4b53a929a --- diff --git a/interface/super/manage_site_files.php b/interface/super/manage_site_files.php index 071b8ee60..0b257c1f3 100644 --- a/interface/super/manage_site_files.php +++ b/interface/super/manage_site_files.php @@ -40,7 +40,7 @@ while ($lrow = sqlFetchArray($lres)) { $my_files[] = "LBF/$option_id.plugin.php"; } -$form_filename = formData('form_filename'); +$form_filename = strip_escape_custom($_REQUEST['form_filename']); // Sanity check to prevent evildoing. if (!in_array($form_filename, $my_files)) $form_filename = ''; $filepath = "$OE_SITE_DIR/$form_filename";