aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlavigor <lavigor@users.noreply.github.com>2016-01-14 15:38:14 +0300
committerlavigor <lavigor@users.noreply.github.com>2016-01-14 15:38:14 +0300
commitef09b562dbeab043ba410088edf2e1fe3f155e79 (patch)
tree4a785c85bdc8ac8a28ff36620d6927597431ff7d
parent08647781c09849843cc30fd5e36f9dafa02faf6e (diff)
downloadforums-ef09b562dbeab043ba410088edf2e1fe3f155e79.tar
forums-ef09b562dbeab043ba410088edf2e1fe3f155e79.tar.gz
forums-ef09b562dbeab043ba410088edf2e1fe3f155e79.tar.bz2
forums-ef09b562dbeab043ba410088edf2e1fe3f155e79.tar.xz
forums-ef09b562dbeab043ba410088edf2e1fe3f155e79.zip
[ticket/13442] UTF-8 symbols for database host
PHPBB3-13442
-rw-r--r--phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php b/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php
index f0e7f1f686..3458aab63e 100644
--- a/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php
+++ b/phpBB/phpbb/install/module/obtain_data/task/obtain_database_data.php
@@ -76,7 +76,7 @@ class obtain_database_data extends \phpbb\install\task_base implements \phpbb\in
{
// Collect database data
$dbms = $this->io_handler->get_input('dbms', '');
- $dbhost = $this->io_handler->get_input('dbhost', '');
+ $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_input('dbpasswd', '', true);
@@ -115,7 +115,7 @@ class obtain_database_data extends \phpbb\install\task_base implements \phpbb\in
if ($use_request_data)
{
$dbms = $this->io_handler->get_input('dbms', '');
- $dbhost = $this->io_handler->get_input('dbhost', '');
+ $dbhost = $this->io_handler->get_input('dbhost', '', true);
$dbport = $this->io_handler->get_input('dbport', '');
$dbuser = $this->io_handler->get_input('dbuser', '');
$dbname = $this->io_handler->get_input('dbname', '');