Skip to content

Commit

Permalink
Test credentials with GET for root.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Nov 1, 2024
1 parent c78789d commit 0c06309
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions s3/src/main/java/ch/cyberduck/core/s3/S3Session.java
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
*/

import ch.cyberduck.core.Credentials;
import ch.cyberduck.core.DisabledListProgressListener;
import ch.cyberduck.core.Host;
import ch.cyberduck.core.HostKeyCallback;
import ch.cyberduck.core.ListService;
Expand Down Expand Up @@ -366,6 +367,7 @@ public void login(final LoginCallback prompt, final CancelCallback cancel) throw
if(log.isDebugEnabled()) {
log.debug(String.format("Skip querying region for %s", home));
}
new S3ListService(this, acl).list(home, new DisabledListProgressListener());
}
else {
final Location.Name location = new S3LocationFeature(this, regions).getLocation(home);
Expand Down

0 comments on commit 0c06309

Please sign in to comment.