Skip to content

Commit 265871c

Browse files
committed
AC-479: Input validation for File Upload in Customer Address
* static test fixes
1 parent 88ea45e commit 265871c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/File/Uploader.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,8 +848,8 @@ public static function getDispersionPath($fileName)
848848
$dispersionPath = '/' . ('.' == $fileName[$char] ? '_' : $fileName[$char]);
849849
} else {
850850
$dispersionPath = self::_addDirSeparator(
851-
$dispersionPath
852-
) . ('.' == $fileName[$char] ? '_' : $fileName[$char]);
851+
$dispersionPath
852+
) . ('.' == $fileName[$char] ? '_' : $fileName[$char]);
853853
}
854854
$char++;
855855
}

0 commit comments

Comments
 (0)