Uploaded image for project: 'Commons VFS'
  1. Commons VFS
  2. VFS-64

[VFS] Files with "file:////" instead of "file:///"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • None
    • Operating System: other
      Platform: Other

    • 34858

    Description

      hi,

      try {
      StandardFileSystemManager fsm = (StandardFileSystemManager) VFS.getManager();
      fsm.setBaseFile( new File( System.getProperty( "user.dir" ) ) );
      FileObject fo = fsm.resolveFile( "foo" );
      System.out.println( fo );
      } catch ( FileSystemException fse ) {
      fse.printStackTrace();
      }

      result :
      file:////path/to/current/dir/foo
      instead of :
      file:///path/to/current/dir/foo

      Attachments

        Activity

          People

            Unassigned Unassigned
            philippe.poulard@inria.fr Philippe Poulard
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: