changeset 5211:9e11599266c8

Allow dots and numbers in oracle backend name
author Andre Heinecke <aheinecke@intevation.de>
date Mon, 11 Mar 2013 09:53:16 +0100
parents 908848b74d7e
children 14186e924534
files flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java	Fri Mar 08 18:15:48 2013 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java	Mon Mar 11 09:53:16 2013 +0100
@@ -14,7 +14,7 @@
     private static final Logger logger = Logger.getLogger(MapUtils.class);
 
     public static final Pattern DB_URL_PATTERN =
-        Pattern.compile("(.*)\\/\\/(.*):([0-9]+)\\/([a-zA-Z_-]+)");
+        Pattern.compile("(.*)\\/\\/(.*):([0-9]+)\\/([\\.a-zA-Z0-9_-]+)");
 
     public static final Pattern DB_PSQL_URL_PATTERN =
         Pattern.compile("(.*)\\/\\/(.*):([0-9]+)\\/([a-zA-Z0-9_-]+)");

http://dive4elements.wald.intevation.org