From bfb8436ca223d0401f2b7ff001cb9152387ca82d Mon Sep 17 00:00:00 2001
From: Georg Ehrke
- +
diff --git a/lib/setup.php b/lib/setup.php index 716b0ef063d..810977a297c 100644 --- a/lib/setup.php +++ b/lib/setup.php @@ -70,6 +70,9 @@ class OC_Setup { if(empty($options['dbname'])) { $error[] = "$dbprettyname enter the database name."; } + if(substr_count($options['dbname'], '.') >= 1){ + $error[] = "$dbprettyname you may not use dots in the database name"; + } if($dbtype != 'oci' && empty($options['dbhost'])) { $error[] = "$dbprettyname set the database host."; } -- 2.39.5