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 |
Jump to:
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
Some additional headers need adding in to the profile_csv_page() function to fix IE behaviour.
header('Cache-Control: maxage=3600'); //Adjust maxage appropriatelyheader('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
Fix can be taken from http://drupal.org/node/255387
Applies to 4.x and 5.x
#3
I've rolled a fix for this in to the patch posted on http://drupal.org/node/292425