This commit is contained in:
@ -600,11 +600,11 @@ auto s3_provider::get_file_list(api_file_list &list,
|
||||
for (const auto &node : node_list) {
|
||||
auto object_name =
|
||||
std::string{node.node().select_node("Key").node().text().as_string()};
|
||||
auto api_path{object_name};
|
||||
if (utils::string::ends_with(api_path, "/")) {
|
||||
if (utils::string::ends_with(object_name, "/")) {
|
||||
continue;
|
||||
}
|
||||
|
||||
auto api_path{object_name};
|
||||
auto is_encrypted = not get_s3_config().encryption_token.empty();
|
||||
if (is_encrypted) {
|
||||
auto res = decrypt_object_name(api_path);
|
||||
|
Reference in New Issue
Block a user