Skip to content

Commit

Permalink
Merge branch '4.0/rest-content-disposition' into 4.0-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
jibsheet committed Apr 25, 2014
2 parents 671311f + b2d7d01 commit f8e7797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/RT/Interface/REST.pm
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ sub process_attachments {
Path => $tmp_fn,
Type => $info->{'Content-Type'} || guess_media_type($tmp_fn),
Filename => $file,
Disposition => "attachment",
Disposition => $info->{'Content-Disposition'} || "attachment",
);
$new_entity->bodyhandle->{'_dirty_hack_to_save_a_ref_tmp_fh'} = $tmp_fh;
$i++;
Expand Down

0 comments on commit f8e7797

Please sign in to comment.