[Pkg-owncloud-commits] [owncloud] 270/394: use regex which was suggested by dragotin

David Prévot taffit at alioth.debian.org
Fri Nov 8 23:12:24 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to annotated tag v4.5.10
in repository owncloud.

commit d68cc6292b977c3df22ef5577e0ca1879ff6e176
Author: Georg Ehrke <dev at georgswebsite.de>
Date:   Mon Dec 17 12:28:34 2012 +0100

    use regex which was suggested by dragotin
---
 core/templates/installation.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/templates/installation.php b/core/templates/installation.php
index 89bacb5..bae359a 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; ?>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list