diff options
-rw-r--r-- | server/file-share.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/file-share.php b/server/file-share.php index 0981be47..1f34e35a 100644 --- a/server/file-share.php +++ b/server/file-share.php @@ -61,7 +61,7 @@ if((isset($_FILES['file']) && !empty($_FILES['file'])) && (isset($_POST['user']) $thumb_xml = ''; // Forbidden file? - if(!isSafeAllowed($user) || !isSafeAllowed($filename) || !isSafeAllowed($name.'.'.$ext)) { + if(!isSafe($user) || !isSafeAllowed($filename) || !isSafeAllowed($name.'.'.$ext)) { exit( '<jappix xmlns=\'jappix:file:post\'> <error>forbidden-type</error> |