Add missing 'module' parameter to download URL

This commit is contained in:
Kijin Sung 2021-07-29 09:52:12 +09:00
parent 38bdb20ca7
commit aab7ab851e

View file

@ -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();