diff options
author | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-10 17:27:15 +0100 |
---|---|---|
committer | Felix Hammerl <fhammerl@thoughtworks.com> | 2016-02-10 17:29:58 +0100 |
commit | dac74cc8cabdc5e3ad0e90fc9aff3b6beedc964f (patch) | |
tree | 0adfef86e8ecebf18608d2c9aa7c995efe5f8f7f /web-ui/app/templates/mails/full_view.hbs | |
parent | cf6adf149d2356400e611b019353f431a032d88e (diff) |
Fix Issue #596: Provide correct content-type
Provide the proper content-type
Quote filename due to Firefox bug https://bugzilla.mozilla.org/show_bug.cgi?id=221028
Diffstat (limited to 'web-ui/app/templates/mails/full_view.hbs')
-rw-r--r-- | web-ui/app/templates/mails/full_view.hbs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/app/templates/mails/full_view.hbs b/web-ui/app/templates/mails/full_view.hbs index cf797ce6..f9ec084a 100644 --- a/web-ui/app/templates/mails/full_view.hbs +++ b/web-ui/app/templates/mails/full_view.hbs @@ -73,7 +73,7 @@ <ul> {{#each attachments }} <li> - <a href="/attachment/{{ this.ident }}?encoding={{ this.encoding }}&filename={{ this.name }}">{{ this.name }} ({{ formatSize this.size}})<i class="fa fa-arrow-down download-icon"></i></a> + <a href="/attachment/{{ this.ident }}?content_type={{ this.content-type }}&encoding={{ this.encoding }}&filename={{ this.name }}">{{ this.name }} ({{ formatSize this.size}})<i class="fa fa-arrow-down download-icon"></i></a> </li> {{/each }} </ul> |