summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--installer/rcube_install.php2
-rw-r--r--installer/test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/rcube_install.php b/installer/rcube_install.php
index 580aba858..afd422433 100644
--- a/installer/rcube_install.php
+++ b/installer/rcube_install.php
@@ -466,7 +466,7 @@ class rcube_install
foreach ($default_hosts as $key => $name) {
if (!empty($name))
- $out[] = is_numeric($key) ? $name : $key;
+ $out[] = rcube_parse_host(is_numeric($key) ? $name : $key);
}
return $out;
diff --git a/installer/test.php b/installer/test.php
index e75ef2770..5fb2c41f0 100644
--- a/installer/test.php
+++ b/installer/test.php
@@ -214,7 +214,7 @@ if ($db_working) {
<h3>Test SMTP config</h3>
<p>
-Server: <?php echo $RCI->getprop('smtp_server', 'PHP mail()'); ?><br />
+Server: <?php echo rcube_parse_host($RCI->getprop('smtp_server', 'PHP mail()')); ?><br />
Port: <?php echo $RCI->getprop('smtp_port'); ?><br />
<?php