dutchcoders / transfer.sh

Easy and fast file sharing from the command-line.
https://github.com/dutchcoders/transfer.sh
MIT License
15.25k stars 1.54k forks source link

Add mime.types to docker container to select charset properly #547

Closed snowphone closed 1 year ago

snowphone commented 1 year ago

This commit includes /etc/mime.types file to the container, which is necessary to properly select the charset using MIME typing during file upload.

For more information, read https://github.com/dutchcoders/transfer.sh/pull/545#issuecomment-1528712181

To test the PR, I built this image, ran this image on my server, and uploaded greeting.txt, which includes CJK letters.