Skip to content

Commit 0ea6c87

Browse files
authored
Fix double encoding (#160)
1 parent 8799ed1 commit 0ea6c87

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/main/java/io/github/jpmorganchase/fusion/api/request/PartFetcher.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
import static io.github.jpmorganchase.fusion.api.tools.ResponseChecker.checkResponseStatus;
44

5-
import io.github.jpmorganchase.fusion.api.APIManager;
65
import io.github.jpmorganchase.fusion.api.response.GetPartResponse;
76
import io.github.jpmorganchase.fusion.api.response.Head;
87
import io.github.jpmorganchase.fusion.api.stream.IntegrityCheckingInputStream;
@@ -91,7 +90,7 @@ private String getPath(PartRequest pr) {
9190
path = getMultiPartPath(pr);
9291
}
9392

94-
return APIManager.encodeUrl(path);
93+
return path;
9594
}
9695

9796
private String getSinglePartPath(PartRequest pr) {

0 commit comments

Comments
 (0)