[freeside-commits] freeside/httemplate/search/elements search.html, 1.28.2.1, 1.28.2.2

Ivan,,, ivan at wavetail.420.am
Tue Dec 4 16:52:18 PST 2007


Update of /home/cvs/cvsroot/freeside/httemplate/search/elements
In directory wavetail:/tmp/cvs-serv1484

Modified Files:
      Tag: FREESIDE_1_7_BRANCH
	search.html 
Log Message:
i hope this allows IE to download excel over https?

Index: search.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/search/elements/search.html,v
retrieving revision 1.28.2.1
retrieving revision 1.28.2.2
diff -u -d -r1.28.2.1 -r1.28.2.2
--- search.html	26 Nov 2007 02:19:54 -0000	1.28.2.1
+++ search.html	5 Dec 2007 00:52:16 -0000	1.28.2.2
@@ -156,8 +156,15 @@
 % } elsif ( $type =~ /\.xls$/ ) {
 %
 %   #http_header('Content-Type' => 'application/excel' ); #eww
-%   http_header('Content-Type' => 'application/vnd.ms-excel' );
 %   #http_header('Content-Type' => 'application/msexcel' ); #alas
+%   #http_header('Content-Type' => 'application/x-msexcel' ); #?
+%
+%   #http://support.microsoft.com/kb/199841
+%   http_header('Content-Type' => 'application/vnd.ms-excel' );
+%
+%   #http://support.microsoft.com/kb/812935
+%   #http://support.microsoft.com/kb/323308
+%   $HTML::Mason::Commands::r->headers_out->{'Cache-control'} = 'max-age=0';
 %
 %   my $data = '';
 %   my $XLS = new IO::Scalar \$data;



More information about the freeside-commits mailing list