From 81a08ffd5bb3f4acc0c5197edd9361e0ba3c804e Mon Sep 17 00:00:00 2001 From: Ryan Date: Fri, 11 Apr 2025 10:55:33 -0400 Subject: [PATCH] fix missing --- upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload.php b/upload.php index e15eb1c..e7f0429 100644 --- a/upload.php +++ b/upload.php @@ -198,7 +198,7 @@ if (!preg_match(REGEX_FILE_NAME, $resumableFilename)) { $metadataChanged = []; // key: folder path, value: boolean // Use a Unicode-enabled pattern to allow special characters. - $safeFileNamePattern = REGEX_FILE_NAME + $safeFileNamePattern = REGEX_FILE_NAME; foreach ($_FILES["file"]["name"] as $index => $fileName) { // First, ensure we only work with the base filename to avoid traversal issues.