mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
Apply locale-independent basename() to attachment filenames. New function added: utf8_basename(). (Bug #43335 - Patch by ocean=Yohsuke)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9905 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -1168,8 +1168,8 @@ function mcp_fork_topic($topic_ids)
|
||||
'in_message' => 0,
|
||||
'is_orphan' => (int) $attach_row['is_orphan'],
|
||||
'poster_id' => (int) $attach_row['poster_id'],
|
||||
'physical_filename' => (string) basename($attach_row['physical_filename']),
|
||||
'real_filename' => (string) basename($attach_row['real_filename']),
|
||||
'physical_filename' => (string) utf8_basename($attach_row['physical_filename']),
|
||||
'real_filename' => (string) utf8_basename($attach_row['real_filename']),
|
||||
'download_count' => (int) $attach_row['download_count'],
|
||||
'attach_comment' => (string) $attach_row['attach_comment'],
|
||||
'extension' => (string) $attach_row['extension'],
|
||||
|
Reference in New Issue
Block a user