New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect encoding of object handle in storage_objects_delete
#6510
Comments
The same goes for storage_objects_get. It's not escaping forward slashes in the object name anymore. Google Cloud Storage's API replies 404s on any object get. It might have regressed because of #5869. |
Seems like all of the storage calls are busted if they have slashes in the file path. This is a pretty major show stopping issue for me. |
Simple exemption for that parameter, since it appears to be the only one affected. Issue googleapis#6352 is probably a duplicate of googleapis#6510.
Simple exemption for that parameter, since it appears to be the only one affected. Issue googleapis#6352 is probably a duplicate of googleapis#6510.
Simple exemption for that parameter, since it appears to be the only one affected. Issue googleapis#6352 is probably a duplicate of googleapis#6510.
Simple exemption for that parameter, since it appears to be the only one affected. Update unit test to check for properly encoded object parameter (note that it matches what `gsutil -D rm ...` is doing). Issue googleapis#6352 is probably a duplicate of googleapis#6510.
Simple exemption for that parameter, since it appears to be the only one affected. Update unit test to check for properly encoded object parameter (note that it matches what `gsutil -D rm ...` is doing). Issue googleapis#6352 is probably a duplicate of googleapis#6510.
Simple exemption for that parameter, since it appears to be the only one affected. Update unit test to check for properly encoded object parameter (note that it matches what `gsutil -D rm ...` is doing). Issue googleapis#6352 is probably a duplicate of googleapis#6510.
Fixed in #7159. Will regenerate and rerelease in the next couple days. |
Looks like this is still broken for storage_objects_copy and storage_objects_rewrite
|
It seems to be impossible to delete objects in folders. GCS expects slashes to be encoded, but the following code passes them unchanged, assuming them the valid parts of URI:
https://github.com/googleapis/elixir-google-api/blob/master/clients/storage/lib/google_api/storage/v1/api/objects.ex#L258
The text was updated successfully, but these errors were encountered: