You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by bu...@apache.org on 2003/03/07 22:34:29 UTC

DO NOT REPLY [Bug 17794] New: - FileItem.getName() returns filename plus path from Windows/IE

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17794>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17794

FileItem.getName() returns filename plus path from Windows/IE

           Summary: FileItem.getName() returns filename plus path from
                    Windows/IE
           Product: Commons
           Version: 1.0 Beta 1
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: wonderbread55@yahoo.com


If I upload a file ( /home/msimpson/hello.avi ) from Linux/Mozilla,
FileItem.getName returns "hello.avi".  If I upload from Windows(2k)/IE(5),
getName () returns the filename with pathname, eg "C:\temp\hello.avi", while
what I really want is just "hello.avi".

Running FileUpload 1.0 beta 1, inside Jboss/Tomcat.

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