Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/jappix/jappix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--server/file-share.php2
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>