commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robert burrell donkin <robertburrelldon...@blueyonder.co.uk>
Subject Re: [FileUpload] Getting wrong filename from FileItem
Date Wed, 04 May 2005 17:51:54 GMT
On Wed, 2005-05-04 at 10:26 -0700, Dakota Jack wrote:
> Some people think this is a bug and some people think that this is a
> feature.  

<snip>

> That is not a problem, however.  I just went in and changed the
> commons upload code adding .getName() to the file at this stage.  The
> problem you are seeing is in Internet Explorer, right?  Firefox and
> Netscape return the file name and Internet Explorer returns the full
> path.  Anyway, you either have to solve the problem in the commons
> upload code itself, where it is easy to solve, or to go through some
> wasted mechanisms after the fact.  Everyone has to solve this problem
> somewhere, so I definitely come down on the side of "bug" versus
> "feature".

the great thing about open source is that you are free to do exactly
this :) 

- robert


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


Mime
View raw message