From 6202914ffc79c838c94514b10441de404d672c53 Mon Sep 17 00:00:00 2001 From: jaymode Date: Thu, 18 Jun 2015 09:20:30 -0400 Subject: [PATCH] Test: add '.' to allowed name characters Original commit: elastic/x-pack-elasticsearch@26a254a4c2e3a5650ae8caa84a6b1dad0b7dfe4c --- .../java/org/elasticsearch/shield/support/ValidationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/elasticsearch/shield/support/ValidationTests.java b/src/test/java/org/elasticsearch/shield/support/ValidationTests.java index 3d1dd9944d4..5c59cb6e759 100644 --- a/src/test/java/org/elasticsearch/shield/support/ValidationTests.java +++ b/src/test/java/org/elasticsearch/shield/support/ValidationTests.java @@ -31,7 +31,7 @@ public class ValidationTests extends ElasticsearchTestCase { private static final char[] allowedFirstChars = add(alphabet, '_'); - private static final char[] allowedSubsequent = addAll(addAll(alphabet, numbers), new char[] { '_', '@', '-', '$' }); + private static final char[] allowedSubsequent = addAll(addAll(alphabet, numbers), new char[] { '_', '@', '-', '$', '.' }); static { Arrays.sort(allowedFirstChars);