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:
[email protected]


With regards,
Apache Git Services

Reply via email to