commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39421] New: - File type info lost when resolving name through DefaultFileSystemManager
Date Thu, 27 Apr 2006 03:42:23 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39421>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39421

           Summary: File type info lost when resolving name through
                    DefaultFileSystemManager
           Product: Commons
           Version: Nightly Builds
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: VFS
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: chris.digiano@sri.com


In DefaultFileSystemManager.resolveName(FileName, String, NameScope)
(beginning on line 614 in the 2006/04/26 nightly build)
if one passes a name ending in "/" such as
file:///my_folder/
the local variable fileType gets properly assigned to "folder".
However, if name parsing is delegated to a provider by invoking
parseUri(FileName, String) this type information gets lost. Currently, the
string passed to parseUri get normalised before parseUri is invoked, causing the
trailing slash to be stripped.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message