sonatype-lift[bot] commented on a change in pull request #510:
URL: https://github.com/apache/solr/pull/510#discussion_r781766239



##########
File path: 
solr/solr-ref-guide/tools/org/apache/solr/guide/CheckLinksAndAnchors.java
##########
@@ -119,7 +121,7 @@ public static void main(String[] args) throws Exception {
     int problems = 0;
 
     if (args.length < 1) {
-      System.err.println("usage: CheckLinksAndAnchors <htmldir> 
[-check-all-relative-links] [-bare-bones]");
+      System.err.println("usage: org.apache.solr.guide.CheckLinksAndAnchors 
<htmldir> [-check-all-relative-links] [-bare-bones]");
       System.exit(-1);
     }
     final File htmlDir = new File(args[0]);

Review comment:
       *PATH_TRAVERSAL_IN:*  This API 
(java/io/File.<init>(Ljava/lang/String;)V) reads a file whose location might be 
specified by user input 
[(details)](https://find-sec-bugs.github.io/bugs.htm#PATH_TRAVERSAL_IN)
   (at-me [in a reply](https://help.sonatype.com/lift/talking-to-lift) 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.

To unsubscribe, e-mail: [email protected]

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to