mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Do not double-escape filenames
This commit is contained in:
parent
61a6c01d26
commit
8520037459
1 changed files with 1 additions and 2 deletions
|
|
@ -259,8 +259,7 @@ class fileModel extends file
|
|||
for($i=0;$i<$file_count;$i++)
|
||||
{
|
||||
$file = $file_list[$i];
|
||||
$file->source_filename = stripslashes($file->source_filename);
|
||||
$file->source_filename = htmlspecialchars($file->source_filename);
|
||||
$file->source_filename = escape($file->source_filename, false);
|
||||
$file->download_url = $this->getDownloadUrl($file->file_srl, $file->sid, $file->module_srl);
|
||||
$file_list[$i] = $file;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue