[bug] S3 provider should limit max key size to 1024 #31
This commit is contained in:
		| @@ -44,7 +44,7 @@ namespace { | |||||||
|                                     const std::string &object_name) |                                     const std::string &object_name) | ||||||
|     -> repertory::api_error { |     -> repertory::api_error { | ||||||
|   request.path = object_name; |   request.path = object_name; | ||||||
|   if (request.path.substr(1U).size() > max_s3_object_name_length) { |   if (request.path.substr(1U).size() > repertory::max_s3_object_name_length) { | ||||||
|     return repertory::api_error::name_too_long; |     return repertory::api_error::name_too_long; | ||||||
|   } |   } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user