aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjaviexin <javiexin@gmail.com>2017-05-21 12:58:05 +0200
committerjaviexin <javiexin@gmail.com>2017-05-21 12:58:05 +0200
commit1d5f5ccffcfd30a652734485b51066950bbb8a76 (patch)
tree0b4bb4651a6fee88f14c9d7584a9584c31ccfafd /phpBB/phpbb/files
parent[ticket/15227] Check PHP version and remove old unused code (diff)
downloadphpbb-1d5f5ccffcfd30a652734485b51066950bbb8a76.tar.gz
phpbb-1d5f5ccffcfd30a652734485b51066950bbb8a76.tar.bz2
phpbb-1d5f5ccffcfd30a652734485b51066950bbb8a76.zip
[ticket/15227] Remove STRIP, as always false
PHPBB3-15227
Diffstat (limited to 'phpBB/phpbb/files')
-rw-r--r--phpBB/phpbb/files/filespec.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/files/filespec.php b/phpBB/phpbb/files/filespec.php
index 2ff2a92c83..f1a32ef4a8 100644
--- a/phpBB/phpbb/files/filespec.php
+++ b/phpBB/phpbb/files/filespec.php
@@ -129,7 +129,7 @@ class filespec
$this->class_initialized = true;
$this->filename = $upload_ary['tmp_name'];
$this->filesize = $upload_ary['size'];
- $name = (STRIP) ? stripslashes($upload_ary['name']) : $upload_ary['name'];
+ $name = $upload_ary['name'];
$name = trim(utf8_basename($name));
$this->realname = $this->uploadname = $name;
$this->mimetype = $upload_ary['type'];