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

URL encode filenames in CDN Media Purge #841

Merged
merged 2 commits into from
Feb 8, 2024

Conversation

joehoyle
Copy link
Member

@joehoyle joehoyle commented Feb 5, 2024

CloudFront will return an error from createInvalidation if the URL is not encoded. tachyon_url() already does this internally, so is not an issue on the tachyon_url.

CloudFront will return an error from `createInvalidation` if the URL is not encoded. `tachyon_url()` already does this internally, so is not an issue on the tachyon_url.
@joehoyle joehoyle requested a review from a team February 5, 2024 15:30
Copy link
Contributor

@mikelittle mikelittle left a comment

Choose a reason for hiding this comment

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

Looks good, thanks Joe, but the first linter issue (extra space) could be fixed.

rmccue
rmccue previously requested changes Feb 7, 2024
inc/cloudfront_media_purge/namespace.php Outdated Show resolved Hide resolved
Co-authored-by: Ryan McCue <me@ryanmccue.info>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants