A free, self-hostable news aggregator…
Allow slash in database hostname
Alexandre Alapetitecbe778f62c6d
diff --git a/app/install.php b/app/install.phpindex 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>