This commit is contained in:
Scott E. Graves 2024-12-19 11:15:25 -06:00
parent c46334b046
commit c5e463c366

View File

@ -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;