Permalink
Browse files

Fix #13370 : CSV export specifies incorrect MIME type

Conflicts:
	csv_export.php
  • Loading branch information...
1 parent 47a2de4 commit 277681c1f575d64b5bf9fa83c9b39ac586959037 @rombert rombert committed Oct 5, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 csv_export.php
View
@@ -69,7 +69,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 277681c

Please sign in to comment.