mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
Merge pull request #3968 from prototech/ticket/13835
[ticket/13835] Normalize filename for attachments uploaded in chunks. * prototech/ticket/13835: [ticket/13835] Normalize filename for attachments uploaded in chunks.
This commit is contained in:
commit
bdf69817be
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ class plupload
|
||||||
// Need to modify some of the $_FILES values to reflect the new file
|
// Need to modify some of the $_FILES values to reflect the new file
|
||||||
return array(
|
return array(
|
||||||
'tmp_name' => $file_path,
|
'tmp_name' => $file_path,
|
||||||
'name' => $this->request->variable('real_filename', ''),
|
'name' => $this->request->variable('real_filename', '', true),
|
||||||
'size' => filesize($file_path),
|
'size' => filesize($file_path),
|
||||||
'type' => $this->mimetype_guesser->guess($file_path, $file_name),
|
'type' => $this->mimetype_guesser->guess($file_path, $file_name),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue