]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Download/CustomFieldValue/dhandler
Upgrade to 4.0.13
[usit-rt.git] / share / html / Download / CustomFieldValue / dhandler
index ced11fbd4a11a9f4ee4140e02e7ed9f145bd97e4..a9190491f4a55ec2bf7a1fedb94df2d73ea66168 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);