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 2019/11/04 16:23:08 UTC

[GitHub] [accumulo] reggert commented on a change in pull request #1409: Corrected servlet parameter handling so that it does not break things

reggert commented on a change in pull request #1409: Corrected servlet parameter handling so that it does not break things
URL: https://github.com/apache/accumulo/pull/1409#discussion_r342140299
 
 

 ##########
 File path: server/monitor/src/main/java/org/apache/accumulo/monitor/servlets/trace/Basic.java
 ##########
 @@ -51,13 +51,14 @@
 
   public static String getStringParameter(HttpServletRequest req, String name,
       String defaultValue) {
-    String result = req.getParameter(name).replaceAll("[^A-Za-z]", "");
+    final String result = req.getParameter(name);
     if (result == null) {
       return defaultValue;
     }
     return result;
   }
 
+
 
 Review comment:
   Will do.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services