From 9d5987911abdab5459403aef4ebecb703eecf052 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Thu, 23 Apr 2015 12:23:58 +0200 Subject: [PATCH] Replace replace_dangerous_char --- main/dropbox/dropbox_submit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/dropbox/dropbox_submit.php b/main/dropbox/dropbox_submit.php index 534e157420..b5cb9cd4bf 100755 --- a/main/dropbox/dropbox_submit.php +++ b/main/dropbox/dropbox_submit.php @@ -90,7 +90,7 @@ if (isset($_POST['submitWork'])) { // Try to add an extension to the file if it hasn't got one $dropbox_filename = add_ext_on_mime($dropbox_filename, $dropbox_filetype); // Replace dangerous characters - $dropbox_filename = replace_dangerous_char($dropbox_filename); + $dropbox_filename = api_replace_dangerous_char($dropbox_filename); // Transform any .php file in .phps fo security $dropbox_filename = php2phps($dropbox_filename); if (!filter_extension($dropbox_filename)) {