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.

Comments

budda’s picture

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)

budda’s picture

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

budda’s picture

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

maxudit007’s picture

hey,

I tried in downloading in IE, but it fails form your patch too. It is not working.

thanks

ksohail’s picture

I tried it, Its work for me