Skip to content

Commit

Permalink
PLUGIN-1520 fix uri builder usage
Browse files Browse the repository at this point in the history
Before it would work in unit test but not in actual instances
due to a different URI builder implementation.
  • Loading branch information
albertshau committed Feb 27, 2023
1 parent 8b16c19 commit 2c20658
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ public String getPath() {
if (port == -1 && protocol.equals(SFTP_PROTOCOL)) {
port = DEFAULT_SFTP_PORT;
}
return UriBuilder.fromUri(urlInfo.toUri()).port(port).userInfo(null).toString();
return UriBuilder.fromUri(urlInfo.toUri()).port(port).userInfo(null).build().toString();
}
return path;
}
Expand Down

0 comments on commit 2c20658

Please sign in to comment.