[Dive4elements-commits] [PATCH] Allow dots and numbers in oracle backend name

Wald Commits scm-commit at wald.intevation.org
Mon Mar 11 09:53:22 CET 2013


# HG changeset patch
# User Andre Heinecke <aheinecke at intevation.de>
# Date 1362991996 -3600
# Node ID 9e11599266c84650d3dfa6debbf1f2f8244dbd0f
# Parent  908848b74d7ea7e2b039acecc72b3543f33db6cd
Allow dots and numbers in oracle backend name

diff -r 908848b74d7e -r 9e11599266c8 flys-artifacts/src/main/java/de/intevation/flys/utils/MapUtils.java
--- 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_-]+)");


More information about the Dive4elements-commits mailing list