flyrain commented on code in PR #2197:
URL: https://github.com/apache/polaris/pull/2197#discussion_r2305362906


##########
runtime/service/src/main/java/org/apache/polaris/service/admin/PolarisServiceImpl.java:
##########
@@ -170,6 +171,18 @@ public Response createCatalog(
     return Response.status(Response.Status.CREATED).build();
   }
 
+  private void validateClientId(String clientId) {
+    if (!clientId.matches("^[0-9a-f]{16}$")) {

Review Comment:
   Why do we only allow `[0-9a-f]`?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@polaris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to