geode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kl...@apache.org
Subject [06/32] geode git commit: GEODE-2955: Added / to the allowed list of characters in region name
Date Wed, 31 May 2017 17:01:11 GMT
GEODE-2955: Added / to the allowed list of characters in region name


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

Branch: refs/heads/feature/GEODE-1279
Commit: f271667b172191429412799327ad53efed6864e4
Parents: ee9ca4e
Author: nabarun <nnag@pivotal.io>
Authored: Wed May 24 15:55:17 2017 -0700
Committer: nabarun <nnag@pivotal.io>
Committed: Wed May 24 15:55:17 2017 -0700

----------------------------------------------------------------------
 .../org/apache/geode/cache/lucene/internal/LuceneServiceImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/geode/blob/f271667b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneServiceImpl.java
----------------------------------------------------------------------
diff --git a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneServiceImpl.java
b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneServiceImpl.java
index 8ce7028..3859804 100644
--- a/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneServiceImpl.java
+++ b/geode-lucene/src/main/java/org/apache/geode/cache/lucene/internal/LuceneServiceImpl.java
@@ -143,7 +143,7 @@ public class LuceneServiceImpl implements InternalLuceneService {
           "Region names may not begin with a double-underscore: " + name);
     }
 
-    final Pattern NAME_PATTERN = Pattern.compile("[aA-zZ0-9-_.]+");
+    final Pattern NAME_PATTERN = Pattern.compile("[aA-zZ0-9-_./]+");
     // Ensure the region only contains valid characters
     Matcher matcher = NAME_PATTERN.matcher(name);
     if (!matcher.matches()) {


Mime
View raw message