message: add URLEncode for the CopyObjectRequest of S3 Rename function
diff: @@ -24,6 +24,7 @@ limitations under the License.
  #include <aws/core/utils/FileSystemUtils.h>
  #include <aws/core/utils/logging/AWSLogging.h>
  #include <aws/core/utils/logging/LogSystemInterface.h>
  +#include <aws/core/utils/StringUtils.h>
  #include <aws/s3/S3Client.h>
  #include <aws/s3/S3Errors.h>
  #include <aws/s3/model/CopyObjectRequest.h>
  @@ -607,7 +608,8 @@ Status S3FileSystem::RenameFile(const string& src, const string& target) {
  Aws::String src_key = object.GetKey();
  Aws::String target_key = src_key;
  target_key.replace(0, src_object.length(), target_object.c_str());
  - Aws::String source = Aws::String(src_bucket.c_str()) + "/" + src_key;
  + Aws::String source = Aws::String(src_bucket.c_str()) + "/"
  + + Aws::Utils::StringUtils::URLEncode(src_key.c_str());
  copyObjectRequest.SetBucket(target_bucket.c_str());
  copyObjectRequest.SetKey(target_key);
  