We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4688e6c commit 5d567a8Copy full SHA for 5d567a8
DriveBackup/src/main/java/ratismal/drivebackup/uploaders/onedrive/OneDriveUploader.java
@@ -128,7 +128,7 @@ public void test(File testFile) {
128
public void uploadFile(File file, String location) {
129
try {
130
String destinationRoot = normalizePath(ConfigParser.getConfig().backupStorage.remoteDirectory);
131
- String destinationPath = concatPath(destinationRoot, location);
+ String destinationPath = concatPath(destinationRoot, normalizePath(location));
132
FQID destinationId = createPath(destinationPath);
133
String uploadURL = createUploadSession(file.getName(), destinationId);
134
try (RandomAccessFile raf = new RandomAccessFile(file, "r")) {
0 commit comments