Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix #13370 : CSV export specifies incorrect MIME type

  • Loading branch information...
commit dd926309b4fa5f112b231e93861f70a8aa02f787 1 parent 59b1fff
@rombert rombert authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  csv_export.php
View
2  csv_export.php
@@ -54,7 +54,7 @@
# Make sure that IE can download the attachments under https.
header( 'Pragma: public' );
- header( 'Content-Type: text/plain; name=' . urlencode( file_clean_name( $t_filename ) ) );
+ header( 'Content-Type: text/csv; name=' . urlencode( file_clean_name( $t_filename ) ) );
header( 'Content-Transfer-Encoding: BASE64;' );
# Added Quotes (") around file name.

0 comments on commit dd92630

Please sign in to comment.
Something went wrong with that request. Please try again.