muse-dev[bot] commented on a change in pull request #124:
URL: https://github.com/apache/lucene/pull/124#discussion_r625612737



##########
File path: 
lucene/replicator/src/java/org/apache/lucene/replicator/http/ReplicationService.java
##########
@@ -183,6 +203,17 @@ public void perform(HttpServletRequest req, 
HttpServletResponse resp)
           break;
       }
     } catch (Exception e) {
+      if (infoStream.isEnabled(INFO_STREAM_COMPONENT)) {
+        final StringWriter sw = new StringWriter();
+        sw.append("an error occurred during replication service call (");
+        sw.append(req.getRequestURI());
+        if (req.getQueryString() != null) {
+          sw.append('?').append(req.getQueryString());
+        }
+        sw.append("): ");
+        e.printStackTrace(new PrintWriter(sw));

Review comment:
       *INFORMATION_EXPOSURE_THROUGH_AN_ERROR_MESSAGE:*  Possible information 
exposure through an error message 
[(details)](https://find-sec-bugs.github.io/bugs.htm#INFORMATION_EXPOSURE_THROUGH_AN_ERROR_MESSAGE)
   (at-me [in a reply](https://docs.muse.dev/docs/talk-to-muse/) with `help` or 
`ignore`)




-- 
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:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to