You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by GitBox <gi...@apache.org> on 2022/01/11 05:23:47 UTC

[GitHub] [solr] sonatype-lift[bot] commented on a change in pull request #510: SOLR-15908 Document or fix error-prone patterns relating to tests

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: issues-unsubscribe@solr.apache.org

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



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org