aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-07 18:26:28 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-11-07 18:26:28 +0100
commitcbe778f62c6d99026b7cd61b1ca28ed2ea88030e (patch)
tree77cbd64e5739f532963bb4fb0243eaeb7b43848e /app/install.php
parentf3d5cbd7da78b9dff18104c539b140128ec98af2 (diff)
Allow slash in database hostname
https://github.com/FreshRSS/FreshRSS/issues/1364
Diffstat (limited to 'app/install.php')
-rw-r--r--app/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php
index 5c8a6e0e8..869bf076f 100644
--- a/app/install.php
+++ b/app/install.php
@@ -634,7 +634,7 @@ function printStep3() {
<div class="form-group">
<label class="group-name" for="host"><?php echo _t('install.bdd.host'); ?></label>
<div class="group-controls">
- <input type="text" id="host" name="host" pattern="[0-9A-Za-z_.-]{1,64}(:[0-9]{2,5})?" value="<?php echo isset($_SESSION['bd_host']) ? $_SESSION['bd_host'] : $system_default_config->db['host']; ?>" tabindex="2" />
+ <input type="text" id="host" name="host" pattern="[0-9A-Z/a-z_.-]{1,64}(:[0-9]{2,5})?" value="<?php echo isset($_SESSION['bd_host']) ? $_SESSION['bd_host'] : $system_default_config->db['host']; ?>" tabindex="2" />
</div>
</div>