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 crash when S3_ALIAS_HOST or S3_CLOUDFRONT_HOST have a path component #25018

Merged
merged 1 commit into from
Jun 1, 2023

Conversation

ClearlyClaire
Copy link
Contributor

@ClearlyClaire ClearlyClaire commented May 16, 2023

Those variables are allowed to have a path component despite their name.

@ClearlyClaire
Copy link
Contributor Author

cc @mjankowski

@mjankowski
Copy link
Contributor

Those variables are allowed to have a path component despite their name.

Oops! Overlooked on previous changes. My bad.

Your fix looks good -- maybe add some specs with a const value including a host/path to avoid regression?

@ClearlyClaire
Copy link
Contributor Author

Good point, changed it accordingly.

@renchap renchap added the bug Something isn't working label May 19, 2023
@ClearlyClaire ClearlyClaire requested a review from a team May 23, 2023 08:10
@renchap renchap merged commit b922ad7 into mastodon:main Jun 1, 2023
25 checks passed
ClearlyClaire added a commit to ClearlyClaire/mastodon that referenced this pull request Jun 5, 2023
See mastodon#24177 for people running into the issue, and mastodon#25018 for S3_ALIAS_HOST
being allowed to have a path component.
supernovae pushed a commit to Universeodon-com/mastodon that referenced this pull request Jun 7, 2023
skerit pushed a commit to 11ways/mastodon that referenced this pull request Jul 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants