Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix azure pre-signed urls #344

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Fix azure pre-signed urls #344

merged 1 commit into from
Aug 11, 2023

Conversation

psFried
Copy link
Contributor

@psFried psFried commented Aug 11, 2023

Azure URL signing was broken. The journal prefix was being duplicated in the URL, which resulted in unusable URLs. Clients would fail with a 403 response when attempting to fetch the fragment. This removes the extra prefix to hopefully allow signing to work.


This change is Reviewable

Azure URL signing was broken. The journal prefix was being duplicated in the
URL, which resulted in unusable URLs. Clients would fail with a 403 response
when attempting to fetch the fragment.  This removes the extra prefix to
hopefully allow signing to work.
@psFried psFried marked this pull request as ready for review August 11, 2023 16:22
@psFried psFried requested a review from jgraettinger August 11, 2023 16:22
@psFried
Copy link
Contributor Author

psFried commented Aug 11, 2023

I've tested this locally and confirmed that I was able to read a fragment using the pre-signed URL.

Copy link
Contributor

@jgraettinger jgraettinger left a comment

Choose a reason for hiding this comment

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

LGTM!

@psFried psFried merged commit 33ae64f into master Aug 11, 2023
@psFried psFried deleted the phil/fix-azure-presigned branch August 11, 2023 17:43
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants