Uploaded image for project: 'Commons IO'
  1. Commons IO
  2. IO-626

A mistake in the FilenameUtils.concat()'s Javadoc about an absolute path.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7
    • Component/s: Utilities
    • Labels:
      None

      Description

      Javadoc
      /foo/a/ + ../bar --> foo/bar

      System.out.println(FilenameUtils.concat("/foo/a/", "../bar"));
      /foo/a/ + ../bar --> /foo/bar

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                yuji.k Yuji Konishi
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: