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