mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/15869] Allow multibyte characters in more variables
PHPBB3-15869
This commit is contained in:
parent
47acbdd138
commit
91847ed1fd
3 changed files with 9 additions and 9 deletions
|
@ -78,10 +78,10 @@ class obtain_database_data extends \phpbb\install\task_base implements \phpbb\in
|
|||
$dbms = $this->io_handler->get_input('dbms', '');
|
||||
$dbhost = $this->io_handler->get_input('dbhost', '', true);
|
||||
$dbport = $this->io_handler->get_input('dbport', '');
|
||||
$dbuser = $this->io_handler->get_input('dbuser', '');
|
||||
$dbpasswd = $this->io_handler->get_raw_input('dbpasswd', '');
|
||||
$dbname = $this->io_handler->get_input('dbname', '');
|
||||
$table_prefix = $this->io_handler->get_input('table_prefix', '');
|
||||
$dbuser = $this->io_handler->get_input('dbuser', '', true);
|
||||
$dbpasswd = $this->io_handler->get_raw_input('dbpasswd', '', true);
|
||||
$dbname = $this->io_handler->get_input('dbname', '', true);
|
||||
$table_prefix = $this->io_handler->get_input('table_prefix', '', true);
|
||||
|
||||
// Check database data
|
||||
$user_data_vaild = $this->check_database_data($dbms, $dbhost, $dbport, $dbuser, $dbpasswd, $dbname, $table_prefix);
|
||||
|
|
|
@ -81,7 +81,7 @@ class obtain_server_data extends \phpbb\install\task_base implements \phpbb\inst
|
|||
$force_server_vars = $this->io_handler->get_input('force_server_vars', 0);
|
||||
$server_name = $this->io_handler->get_input('server_name', $server_name, true);
|
||||
$server_port = $this->io_handler->get_input('server_port', $server_port);
|
||||
$script_path = $this->io_handler->get_input('script_path', $script_path);
|
||||
$script_path = $this->io_handler->get_input('script_path', $script_path, true);
|
||||
|
||||
// Clean up script path
|
||||
if ($script_path !== '/')
|
||||
|
|
|
@ -85,10 +85,10 @@ class obtain_update_ftp_data extends task_base
|
|||
$method = $methods[0];
|
||||
}
|
||||
|
||||
$ftp_host = $this->iohandler->get_input('ftp_host', '');
|
||||
$ftp_user = $this->iohandler->get_input('ftp_user', '');
|
||||
$ftp_pass = htmlspecialchars_decode($this->iohandler->get_input('ftp_pass', ''));
|
||||
$ftp_path = $this->iohandler->get_input('ftp_path', '');
|
||||
$ftp_host = $this->iohandler->get_input('ftp_host', '', true);
|
||||
$ftp_user = $this->iohandler->get_input('ftp_user', '', true);
|
||||
$ftp_pass = htmlspecialchars_decode($this->iohandler->get_input('ftp_pass', '', true));
|
||||
$ftp_path = $this->iohandler->get_input('ftp_path', '', true);
|
||||
$ftp_port = $this->iohandler->get_input('ftp_port', 21);
|
||||
$ftp_time = $this->iohandler->get_input('ftp_timeout', 10);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue