diff options
author | Cesar G <prototech91@gmail.com> | 2015-10-13 20:17:26 -0700 |
---|---|---|
committer | Cesar G <prototech91@gmail.com> | 2015-10-13 20:17:26 -0700 |
commit | 655f244c4f2fc871273406dd316551f4c2120a52 (patch) | |
tree | 64fce47941416b1db56a858deb473bdd9d792101 /phpBB/phpbb/plupload/plupload.php | |
parent | 1164cc38a243fb2c5b41cc8882956890ff2eecd2 (diff) | |
download | forums-655f244c4f2fc871273406dd316551f4c2120a52.tar forums-655f244c4f2fc871273406dd316551f4c2120a52.tar.gz forums-655f244c4f2fc871273406dd316551f4c2120a52.tar.bz2 forums-655f244c4f2fc871273406dd316551f4c2120a52.tar.xz forums-655f244c4f2fc871273406dd316551f4c2120a52.zip |
[ticket/13835] Normalize filename for attachments uploaded in chunks.
PHPBB3-13835
Diffstat (limited to 'phpBB/phpbb/plupload/plupload.php')
-rw-r--r-- | phpBB/phpbb/plupload/plupload.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/plupload/plupload.php b/phpBB/phpbb/plupload/plupload.php index ca78167ec0..7f6267ed32 100644 --- a/phpBB/phpbb/plupload/plupload.php +++ b/phpBB/phpbb/plupload/plupload.php @@ -125,7 +125,7 @@ class plupload // Need to modify some of the $_FILES values to reflect the new file return array( 'tmp_name' => $file_path, - 'name' => $this->request->variable('real_filename', ''), + 'name' => $this->request->variable('real_filename', '', true), 'size' => filesize($file_path), 'type' => $this->mimetype_guesser->guess($file_path, $file_name), ); |