Upgrade to 4.0.13
[usit-rt.git] / share / html / Download / CustomFieldValue / dhandler
index ced11fb..a919049 100644 (file)
@@ -64,7 +64,7 @@ unless ($OCFV->id) {
 my $content_type = $OCFV->ContentType || 'text/plain';
     
 if (RT->Config->Get('AlwaysDownloadAttachments')) {
-    $r->headers_out->{'Content-Disposition'} = "attachment; filename=" . $OCFV->Content;
+    $r->headers_out->{'Content-Disposition'} = "attachment";
 }
 elsif (!RT->Config->Get('TrustHTMLAttachments')) {
     $content_type = 'text/plain' if ($content_type =~ /^text\/html/i);