You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by GitBox <gi...@apache.org> on 2017/12/06 19:22:12 UTC

[GitHub] jkrdev commented on a change in pull request #331: ACCUMULO-4756 Allow default tables validate REST

jkrdev commented on a change in pull request #331: ACCUMULO-4756 Allow default tables validate REST
URL: https://github.com/apache/accumulo/pull/331#discussion_r155334893
 
 

 ##########
 File path: server/monitor/src/main/java/org/apache/accumulo/monitor/util/ParameterValidator.java
 ##########
 @@ -22,6 +22,8 @@
 public interface ParameterValidator {
 
   String ALPHA_NUM_REGEX = "\\w+";
+  // Allow the special default table IDs
+  String ALPHA_NUM_REGEX_TABLE_ID = "[\\!\\+]?(\\w)+";
 
 Review comment:
   I agree "[!+]?\\w+" should work just fine. 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services