diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-12-17 12:28:34 +0100 |
---|---|---|
committer | Thomas Mueller <thomas.mueller@tmit.eu> | 2013-01-06 23:04:08 +0100 |
commit | d68cc6292b977c3df22ef5577e0ca1879ff6e176 (patch) | |
tree | 49fdced8990d2d6b49f159ebe76bd2119b18b879 | |
parent | 989d762140942f1e912fd33f27afd375f6642f62 (diff) | |
download | nextcloud-server-d68cc6292b977c3df22ef5577e0ca1879ff6e176.tar.gz nextcloud-server-d68cc6292b977c3df22ef5577e0ca1879ff6e176.zip |
use regex which was suggested by dragotin
-rw-r--r-- | core/templates/installation.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; ?> |