fix
This commit is contained in:
parent
c46334b046
commit
c5e463c366
@ -242,7 +242,7 @@ auto s3_provider::create_path_directories(const std::string &api_path,
|
||||
auto s3_provider::decrypt_object_name(std::string &object_name) const
|
||||
-> api_error {
|
||||
auto parts = utils::string::split(object_name, '/', false);
|
||||
for (const auto &part : parts) {
|
||||
for (auto &part : parts) {
|
||||
if (not utils::encryption::decrypt_file_name(
|
||||
get_s3_config().encryption_token, part)) {
|
||||
return api_error::decryption_error;
|
||||
|
Loading…
x
Reference in New Issue
Block a user