We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 773f942 commit bd883b8Copy full SHA for bd883b8
android/app/src/main/java/com/microsoft/codepush/react/FileUtils.java
@@ -124,7 +124,7 @@ public static String readFileToString(String filePath) throws IOException {
124
}
125
126
private static String validateFileName(String fileName, File destinationFolder) throws IOException {
127
- String destinationFolderCanonicalPath = destinationFolder.getCanonicalPath();
+ String destinationFolderCanonicalPath = destinationFolder.getCanonicalPath() + File.separator;
128
129
File file = new File(destinationFolderCanonicalPath, fileName);
130
String canonicalPath = file.getCanonicalPath();
0 commit comments