Skip to content

Added: Better UTF-8 attachment handling

Compare
Choose a tag to compare
@sagebind sagebind released this 04 Jan 17:09
· 20 commits to master since this release
5e6c3b6

Added

  • There is now a HttpUtils public class with a createContentDispositionHeader() static method for generating proper UTF-8 encoded Content-Disposition header values supporting both ASCII and UTF-8 for browsers implementing RFC 5987. This is used by the url builders themselves, but is also part of the public API and can be used independently. (#4)

Fixed

  • Both CloudFrontUrlBuilder and S3UrlBuilder support full UTF-8 attachment filenames by using the above method. (#4)