NihalJain commented on code in PR #6783:
URL: https://github.com/apache/hbase/pull/6783#discussion_r2030522336


##########
hbase-rest/src/main/java/org/apache/hadoop/hbase/rest/RESTServer.java:
##########
@@ -400,6 +404,20 @@ public synchronized void run() throws Exception {
     server.start();
   }
 
+  private static void setUriComplianceRules(HttpConfiguration httpConfig) {
+    // In Jetty 12, ambiguous path separators, suspicious path characters, and 
ambiguous empty
+    // segments are considered violations of the URI specification and hence 
are not allowed.
+    // Refer to 
https://github.com/jetty/jetty.project/issues/11890#issuecomment-2156449534
+    // We must set a URI compliance to allow for this violation so that client
+    // requests are not automatically rejected. We have tests which rely on 
this behavior.
+    // TODO Discuss Should we set below to UriCompliance.LEGACY instead of 
cherry-picking?

Review Comment:
   Removed TODO



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

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to