accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] jkrdev commented on a change in pull request #331: ACCUMULO-4756 Allow default tables validate REST
Date Thu, 01 Jan 1970 00:00:00 GMT
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

Mime
View raw message