summaryrefslogtreecommitdiff
path: root/web-ui/app/templates/mails/full_view.hbs
diff options
context:
space:
mode:
authorFelix Hammerl <fhammerl@thoughtworks.com>2016-02-10 17:27:15 +0100
committerFelix Hammerl <fhammerl@thoughtworks.com>2016-02-10 17:29:58 +0100
commitdac74cc8cabdc5e3ad0e90fc9aff3b6beedc964f (patch)
tree0adfef86e8ecebf18608d2c9aa7c995efe5f8f7f /web-ui/app/templates/mails/full_view.hbs
parentcf6adf149d2356400e611b019353f431a032d88e (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.hbs2
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>