Skip to content
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

storage: use correct path with signed url cname #1419

Merged
merged 1 commit into from
Nov 12, 2018

Conversation

MDrollette
Copy link
Contributor

When getting a signed URL from a storage object and passing the cname option the resource path should not include the bucket name, as that's implied by the cname.

This removes the bucket name from the resource path if a cname option is provided.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Nov 11, 2018
Copy link
Contributor

@jdpedrie jdpedrie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution @MDrollette.

I've verified using real bucket w/ cname.

Copy link
Contributor

@dwsupplee dwsupplee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MDrollette, appreciate the contribution :).

@dwsupplee dwsupplee merged commit 49ccd43 into googleapis:master Nov 12, 2018
jdpedrie added a commit that referenced this pull request Nov 12, 2018
@tmatsuo tmatsuo mentioned this pull request Nov 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants