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

Fix Presigner not respecting :endpoint URL scheme #1027

Closed
wants to merge 1 commit into from

Conversation

janko
Copy link
Contributor

@janko janko commented Dec 11, 2015

When presigned URL is generated for a client which has :endpoint, the URL scheme was always "https", even when the :endpoint had "http" scheme.

@awood45
Copy link
Member

awood45 commented Dec 11, 2015

There's a failing test here, essentially because the client call within expects the :secure parameter to not be present.

@awood45 awood45 self-assigned this Dec 11, 2015
When presigned URL is generated for a client which has `:endpoint`, the
URL scheme was always "https", even when the `:endpoint` had "http"
scheme.
@janko janko force-pushed the presigner-endpoint-scheme branch from 72262ce to f0d2cf8 Compare December 11, 2015 18:05
@janko
Copy link
Contributor Author

janko commented Dec 11, 2015

Updated.

@awood45
Copy link
Member

awood45 commented Dec 11, 2015

I've pulled down and confirmed that this doesn't break our integration tests around presigning.

@awood45
Copy link
Member

awood45 commented Dec 11, 2015

I like the idea, but I think this can be changed to be more generally applicable. I'm going to pull this down, modify it, and push.

@trevorrowe
Copy link
Member

I pulled this locally and made a small change to ensure this worked for all URIs by default. Your changes have been merged into mainline. Thanks for the PR!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants