summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-10-28 14:11:41 +0100
committerGeorg Ehrke <dev@georgswebsite.de>2012-10-28 14:11:41 +0100
commitd7a6b094063a89b8ecce9392a603cb3c3a967db2 (patch)
treefdcdf3eab5adecb84915b5012d2f69315ee12991 /core/templates
parentb8a48b55a359bb56f9cdf2d4c8099394d7f0cbb1 (diff)
downloadnextcloud-server-d7a6b094063a89b8ecce9392a603cb3c3a967db2.tar.gz
nextcloud-server-d7a6b094063a89b8ecce9392a603cb3c3a967db2.zip
deny the usage of dots in database name
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/installation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index c0b29ea909d..5a3bd2cc9f0 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" />
+ <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; ?>