From d68cc6292b977c3df22ef5577e0ca1879ff6e176 Mon Sep 17 00:00:00 2001 From: Georg Ehrke <dev@georgswebsite.de> Date: Mon, 17 Dec 2012 12:28:34 +0100 Subject: use regex which was suggested by dragotin --- core/templates/installation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/templates/installation.php b/core/templates/installation.php index 89bacb53fcd..bae359a9501 100644 --- a/core/templates/installation.php +++ b/core/templates/installation.php @@ -111,7 +111,7 @@ </p> <p class="infield"> <label for="dbname" class="infield"><?php echo $l->t( 'Database name' ); ?></label> - <input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" autocomplete="off" pattern="[^.]+" /> + <input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" autocomplete="off" pattern="[0-9a-zA-Z$_-]+" /> </p> </div> <?php endif; ?> -- cgit v1.2.3