Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.1.5dev1

Bug #14720 IE Rendering Issue in SSL
Submitted: 2008-09-29 19:41 UTC
From: smithwib Assigned:
Status: Open Package: Structures_DataGrid_Renderer_CSV
PHP Version: 5.2.1 OS: Linux
Roadmaps: (Not assigned)    
Subscription  


 [2008-09-29 19:41 UTC] smithwib (Bob Smithwick)
Description: ------------ In revision 1.33 in order to get the CSV to be downloadable in IE7 for PC, I needed to revise your render() call to be: function render() { if ($this->_options['saveToFile'] === false) { header('Pragma: public'); header('Cache-Control: must-revalidate, post-check=0, pre-check=0'); header('Cache-Control: private: false'); header('Content-Transfer-Encoding: binary'); header('Content-type: text/csv'); if ($this->_options['filename'] !== false) { header('Content-disposition: attachment; filename=' . $this->_options['filename']); } } parent::render(); } This was a tip I picked up from a Drupal site. Thanks so much for all your hard work!

Comments

 [2008-10-09 13:24 UTC] doconnor (Daniel O'Connor)
Is this the same broken behavior as http://support.microsoft.com/kb/323308
 [2008-10-09 13:28 UTC] smithwib (Bob Smithwick)
Looks similar, although they don't mention IE7 -- last edit date was 11/2007, so who knows.