Skip to content
This repository was archived by the owner on Feb 26, 2025. It is now read-only.

Commit 52d1977

Browse files
author
Tim Wolters
committed
Try to parse string so 2 absolute paths are correctly resolved against each other
1 parent 842746c commit 52d1977

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/upplication/s3fs/S3Path.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ public Path resolve(Path other) {
373373

374374
@Override
375375
public Path resolve(String other) {
376-
return resolve(new S3Path(this.getFileSystem(), other));
376+
return resolve(new S3Path(this.getFileSystem(), URI.create(other).getPath()));
377377
}
378378

379379
@Override

0 commit comments

Comments
 (0)