mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Fix double escape of filename in short download URL #2611
This commit is contained in:
parent
d671f0468c
commit
47cb8ca4ff
2 changed files with 3 additions and 3 deletions
|
|
@ -476,8 +476,8 @@ class FileModel extends File
|
|||
$nullList = array();
|
||||
foreach ($output->data as $file)
|
||||
{
|
||||
$file->source_filename = escape($file->source_filename, false);
|
||||
$file->download_url = self::getDownloadUrl($file->file_srl, $file->sid, 0, $file->source_filename);
|
||||
$file->source_filename = escape($file->source_filename, false);
|
||||
$fileList[] = $file;
|
||||
if ($file->upload_target_type === null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue