Explorar o código

Merge pull request #1366 from Alkarex/pgsql-slash

Allow slash in database hostname
Alexandre Alapetite %!s(int64=9) %!d(string=hai) anos
pai
achega
2cdc83d24d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/install.php

+ 1 - 1
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>