Skip to content

Commit 5b08180

Browse files
sanniesdkocher
authored andcommitted
Expect valid URI in configuration.
1 parent abb9fe6 commit 5b08180

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

s3/src/main/java/ch/cyberduck/core/auth/AWSSessionCredentialsRetriever.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public Credentials get() throws BackgroundException {
7575
final HttpClientBuilder configuration = builder.build(ProxyFactory.get(),
7676
new DisabledTranscriptListener(), new DisabledLoginCallback());
7777
try (CloseableHttpClient client = configuration.build()) {
78-
final HttpRequestBase resource = new HttpGet(new HostUrlProvider().withUsername(false).withPath(true).get(address));
78+
final HttpRequestBase resource = new HttpGet(url);
7979
return client.execute(resource, response -> {
8080
switch(response.getStatusLine().getStatusCode()) {
8181
case HttpStatus.SC_OK:

0 commit comments

Comments
 (0)