From aab7ab851e8da975482d439434a75aca6a5a64b9 Mon Sep 17 00:00:00 2001 From: Kijin Sung Date: Thu, 29 Jul 2021 09:52:12 +0900 Subject: [PATCH] Add missing 'module' parameter to download URL --- 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 45016d6b6..4131f03c9 100644 --- a/modules/file/file.controller.php +++ b/modules/file/file.controller.php @@ -391,7 +391,7 @@ class fileController extends file } else { - $url = getNotEncodedUrl('', 'act', 'procFileOutput', 'file_srl', $file_srl, 'file_key', $file_key, 'force_download', Context::get('force_download') === 'Y' ? 'Y' : null); + $url = getNotEncodedUrl('', 'module', 'file', 'act', 'procFileOutput', 'file_srl', $file_srl, 'file_key', $file_key, 'force_download', Context::get('force_download') === 'Y' ? 'Y' : null); } header('Location: ' . $url); Context::close();