X-Git-Url: http://git.uio.no/git/?p=usit-rt.git;a=blobdiff_plain;f=share%2Fhtml%2FTicket%2FAttachment%2Fdhandler;h=f30232ecb920d0e374139615eb7c5d943bb7bee4;hp=ae9580aaeb306e3dd78f11f361297edd0c660def;hb=5b0d0914c018db8e45a5dad8991227f4bcd93c4f;hpb=403d7b0b0eb7d2535f279adb134aecb4fde2438d diff --git a/share/html/Ticket/Attachment/dhandler b/share/html/Ticket/Attachment/dhandler index ae9580a..f30232e 100644 --- a/share/html/Ticket/Attachment/dhandler +++ b/share/html/Ticket/Attachment/dhandler @@ -70,7 +70,7 @@ my $content_type = $AttachmentObj->ContentType || 'text/plain'; if (RT->Config->Get('AlwaysDownloadAttachments')) { - $r->headers_out->{'Content-Disposition'} = "attachment; filename=" . $AttachmentObj->Filename; + $r->headers_out->{'Content-Disposition'} = "attachment"; } elsif (!RT->Config->Get('TrustHTMLAttachments')) { $content_type = 'text/plain' if ($content_type =~ /^text\/html/i);