diff options
author | Georg Ehrke <dev@georgswebsite.de> | 2012-12-17 12:28:34 +0100 |
---|---|---|
committer | Georg Ehrke <dev@georgswebsite.de> | 2012-12-17 12:28:34 +0100 |
commit | bbe805b665ddf188c2f1b1b88c4e47052629234b (patch) | |
tree | 4c1282607e1bd1bba6a34271fe07391d02890753 /core | |
parent | a0fe53d09adcb95b2b4edfd001346206f0a1bd8b (diff) | |
download | nextcloud-server-bbe805b665ddf188c2f1b1b88c4e47052629234b.tar.gz nextcloud-server-bbe805b665ddf188c2f1b1b88c4e47052629234b.zip |
use regex which was suggested by dragotin
Diffstat (limited to 'core')
-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 908e7301062..3b81d890cf7 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; ?> |