Changeset 4595 for branches/2.2.0.1/expressoMail1_2/inc/gotodownload.php
- Timestamp:
- 06/10/11 18:28:41 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.0.1/expressoMail1_2/inc/gotodownload.php
r3369 r4595 162 162 header("Expires: 0"); // set expiration time 163 163 header ("Content-Disposition: attachment; filename=\"". addslashes($newFileName)."\""); 164 if($fileContent) { 164 // No IE para que os nomes de arquivos com caracteres especiais no download fiquei corretos o nome deve ser codificado com urlencode. 165 if (preg_match('/msie/i', $_SERVER['HTTP_USER_AGENT'])) 166 $newFileName=urlencode($newFileName); 167 if($fileContent) { 165 168 if($encoding == 'base64') 166 169 echo imap_base64($fileContent);
Note: See TracChangeset
for help on using the changeset viewer.