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

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

    XMLWordPrintableJSON

    Details

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

      Operating System: other
      Platform: Other

    • Bugzilla Id:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: