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 text encoding issue for CDN #208

Merged
merged 2 commits into from
Jul 2, 2023
Merged

Fix text encoding issue for CDN #208

merged 2 commits into from
Jul 2, 2023

Conversation

emmiegit
Copy link
Member

@emmiegit emmiegit commented Jul 2, 2023

(See scpwiki/sigma#86, description copied from there)

One known issue with cdn.scpwiki.com has been the incorrect application of charsets onto uploaded files, causing any non-ASCII characters to render incorrectly.

This is tracked in aws/aws-cli#1346. It seems clear that Amazon is not going to release a fix, so I have created https://github.com/emmiegit/s3-sync-action. This new action is a script which uploads each file separately, allowing us to detect and specify the MIME explicitly. This should fix the encoding issue and allow us to prepare to use the CDN for real.

I tested this using the dummy scp-wiki-cdn-test bucket, and confirmed that the expected file layout was present.

@emmiegit emmiegit requested a review from Woedenaz July 2, 2023 08:29
@emmiegit emmiegit self-assigned this Jul 2, 2023
A bit misleadingly named, it only deploys for master.
@emmiegit emmiegit merged commit deb49b6 into master Jul 2, 2023
@emmiegit emmiegit deleted the ci branch July 2, 2023 18:15
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.

1 participant