Download in IE7 fails

budda - May 29, 2007 - 09:38
Project:Profile CSV
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

When trying to download the CSV in IE7 (over https) the browser fails to get the userlist.csv - and instead tries to download "profile_csv", but fails.

#1

budda - September 5, 2007 - 11:04
Status:active» needs work

Some additional headers need adding in to the profile_csv_page() function to fix IE behaviour.

  header('Cache-Control: maxage=3600'); //Adjust maxage appropriately
  header('Pragma: public');

Further info about this flaw can be found in a Microsoft Article titled "Internet Explorer file downloads over SSL do not work with the cache control headers" (KBID: 323308)

#2

budda - May 19, 2008 - 11:29
Version:4.7.x-1.x-dev» 5.x-1.x-dev
Status:needs work» needs review

Fix can be taken from http://drupal.org/node/255387

Applies to 4.x and 5.x

#3

budda - August 7, 2008 - 14:37

I've rolled a fix for this in to the patch posted on http://drupal.org/node/292425

 
 

Drupal is a registered trademark of Dries Buytaert.