fix pattern for database names

This commit is contained in:
Georg Ehrke 2012-11-29 15:08:05 +01:00
parent c38a75e03f
commit a0fe53d09a

View file

@ -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="[0-9a-zA-Z$_]+" />
<input type="text" name="dbname" id="dbname" value="<?php print OC_Helper::init_var('dbname'); ?>" autocomplete="off" pattern="[^.]+" />
</p>
</div>
<?php endif; ?>