Fix #1180 remove session dependency from file download operation

파일 다운로드시 사용하는 key의 검증 과정에 세션을 사용하지 않도록 변경함.
전자서명을 사용하여 동일한 IP 주소에서 1시간 동안 유효한 key를 생성함.
This commit is contained in:
Kijin Sung 2019-07-31 19:25:56 +09:00
parent b284d69760
commit 31b0bb4158
3 changed files with 15 additions and 11 deletions

View file

@ -41,6 +41,7 @@ $lang->msg_file_cart_is_null = 'Please select a file(s) to delete.';
$lang->msg_checked_file_is_deleted = '%d attachment(s) was(were) deleted.';
$lang->msg_exceeds_limit_size = 'This file exceeds the attachment limit.';
$lang->msg_file_not_found = 'Could not find requested file.';
$lang->msg_file_key_expired = 'This download link is expired. Please initiate the download again.';
$lang->file_search_target_list['filename'] = 'File Name';
$lang->file_search_target_list['filesize_more'] = 'File Size(byte, more)';
$lang->file_search_target_list['filesize_mega_more'] = 'File Size(mbyte, more)';