FIX: Correctly encode non-ASCII filenames in HTTP header (PR #7983)

Backport of fix from Rails 6: https://github.com/rails/rails/commit/890485cfce4c361c03a41ec23b0ba187007818cc

Fixes https://meta.discourse.org/t/issues-with-upload-files-with-complex-names-in-safari/123707

GitHub

1 Like

You’ve signed the CLA, gschlager. Thank you! This pull request is ready for review.