diff options
author | ytetsuro <phper.0o0@gmail.com> | 2018-01-29 17:43:48 +0100 |
---|---|---|
committer | ytetsuro <phper.0o0@gmail.com> | 2018-02-05 16:12:27 +0100 |
commit | 719e4acbafecbef3f143affb45a8dcd90945dd04 (patch) | |
tree | 603e6fe2eeedc9ae8edce750cec6b139232c91a8 | |
parent | b37902586b10bdbd7a34480950098800ddf4b120 (diff) |
fix rfc6266
-rw-r--r-- | system/helpers/download_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/download_helper.php b/system/helpers/download_helper.php index 02d4ce11e..338725477 100644 --- a/system/helpers/download_helper.php +++ b/system/helpers/download_helper.php @@ -149,7 +149,7 @@ if ( ! function_exists('force_download')) // Generate the server headers header('Content-Type: '.$mime); - header('Content-Disposition: attachment; filename="'.$filename.'"'); + header('Content-Disposition: attachment; filename="'.$filename.'"; filename*=UTF-8\'\''.rawurlencode($filename)); header('Expires: 0'); header('Content-Transfer-Encoding: binary'); header('Content-Length: '.$filesize); |