googleapis / elixir-google-api

Elixir client libraries for accessing Google APIs.

Home Page:https://hex.pm/users/google-cloud

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GoogleApi.Storage.V1.Api.Objects.storage_objects_copy fails for destination object with reserved chars

jheld opened this issue · comments

Environment details

  • Programming language: Elixir
  • OS: linux
  • Language runtime version: 1.10.4
  • Package version: 0.30.0

Steps to reproduce

  1. call the function with a destination object which has at least one reserved character in it (such as a "/")

this is in the same vein as from issue #6510

I'd like to propose a change to fix this issue by this commit pojiro@becaeaa.

This fix improves fc4b282 and only affects storage_objects_copy and storage_objects_rewrite.
I checked the generating results, pojiro@2e34288, this commit is just for checking.

@dazuma Could you check this issue and fix?

@pojiro 🙏 btw this fix resolves the encoding problems I was seeing with storage_objects_copy.

@chingor13 @dazuma I create a PR #8770 which needs a maintainer to approve running workflows. Could you see them?

#8770 is merged. It should regenerate tonight. Google Cloud is currently in a release freeze for the holidays in North America, so the actual library release will happen next week.