[bug] S3 provider should limit max key size to 1024 #31

This commit is contained in:
Scott E. Graves 2024-12-31 10:15:21 -06:00
parent ed4a4f0742
commit e1eda99a72

View File

@ -683,8 +683,8 @@ auto s3_provider::get_object_info(bool directory, const std::string &api_path,
long /*response_code*/) {
response_data = std::string(data.begin(), data.end());
};
res = set_request_path(head, cfg,
directory ? object_name + '/' : object_name);
auto res = set_request_path(head, cfg,
directory ? object_name + '/' : object_name);
if (res != api_error::success) {
return res;
}