You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@marmotta.apache.org by wi...@apache.org on 2013/12/06 09:05:10 UTC

[2/2] git commit: MARMOTTA-248: applied the patch from Oliver Janner

MARMOTTA-248: applied the patch from Oliver Janner


Project: http://git-wip-us.apache.org/repos/asf/marmotta/repo
Commit: http://git-wip-us.apache.org/repos/asf/marmotta/commit/fe53dfb8
Tree: http://git-wip-us.apache.org/repos/asf/marmotta/tree/fe53dfb8
Diff: http://git-wip-us.apache.org/repos/asf/marmotta/diff/fe53dfb8

Branch: refs/heads/develop
Commit: fe53dfb82077acc6045cab96b7e8e3af61d6ddf4
Parents: 2f59b41
Author: Sergio Fernández <wi...@apache.org>
Authored: Fri Dec 6 09:03:18 2013 +0100
Committer: Sergio Fernández <wi...@apache.org>
Committed: Fri Dec 6 09:03:18 2013 +0100

----------------------------------------------------------------------
 .../platform/core/webservices/prefix/PrefixWebService.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/marmotta/blob/fe53dfb8/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/webservices/prefix/PrefixWebService.java
----------------------------------------------------------------------
diff --git a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/webservices/prefix/PrefixWebService.java b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/webservices/prefix/PrefixWebService.java
index 740d53d..1ecf363 100644
--- a/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/webservices/prefix/PrefixWebService.java
+++ b/platform/marmotta-core/src/main/java/org/apache/marmotta/platform/core/webservices/prefix/PrefixWebService.java
@@ -54,7 +54,7 @@ public class PrefixWebService {
     @Inject
     private PrefixService prefixService;
 
-    private static final String PREFIX_PATTERN = "{prefix: [a-z][a-zA-Z0-9]+}";
+    private static final String PREFIX_PATTERN = "{prefix: [a-z][a-zA-Z0-9\\._-]+}";
 
     /**
      * Get all prefixes mappings