-
Notifications
You must be signed in to change notification settings - Fork 536
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
Signed URL: Special Chars in file name not handled properly in V4 version #7835
Comments
Can you try upgrading to version |
upgraded to gem 'google-cloud-storage', '1.29.0' |
Hi @quartzmo I think my fix did not include this unfortunately. What i fixed was only the query params when we wanted to have a different file name during downloading of the file. I saw another CGI.escape here. This however might involve business decisions already because this means that before signer v4, cloud storage is allowing spaces on the file names. Now, the file path actually includes + instead. |
@chvreddy Thank you for reporting this bug. It looks like the path in |
Thanks @quartzmo |
Thanks for stopping by to let us know something could be better!
Environment details
Steps to reproduce
Code example
With V4 unable to convert special char + to '%20 hence getting above error.
Code example
When using version V2, Able to download the image.
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!
The text was updated successfully, but these errors were encountered: