From 6e4ba618cfd894976dbaefd983f7aa97d54e511f Mon Sep 17 00:00:00 2001 From: bnu Date: Sat, 25 Jan 2014 20:11:46 +0900 Subject: [PATCH] =?UTF-8?q?#245=20=E2=80=98rv=E2=80=99=EB=A5=BC=20?= =?UTF-8?q?=E2=80=98rv:=E2=80=99=EB=A1=9C=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/file/file.controller.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/file/file.controller.php b/modules/file/file.controller.php index 6c4c38a8e..1fc017e6b 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -302,7 +302,7 @@ class fileController extends file $file_size = $file_obj->file_size; $filename = $file_obj->source_filename; - if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE || (strpos($_SERVER['HTTP_USER_AGENT'], 'Windows') !== FALSE && strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') !== FALSE && strpos($_SERVER['HTTP_USER_AGENT'], 'rv') !== FALSE)) + if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE || (strpos($_SERVER['HTTP_USER_AGENT'], 'Windows') !== FALSE && strpos($_SERVER['HTTP_USER_AGENT'], 'Trident') !== FALSE && strpos($_SERVER['HTTP_USER_AGENT'], 'rv:') !== FALSE)) { $filename = rawurlencode($filename); $filename = preg_replace('/\./', '%2e', $filename, substr_count($filename, '.') - 1);