commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dakota Jack <dakota.j...@gmail.com>
Subject [PATCH] [fileupload]
Date Mon, 11 Apr 2005 04:48:03 GMT
Add 
    if(fileName != null) {
      fileName = new java.io.File(fileName).getName();
    }

to the "protected String getFileName(Map headers)" method of
FileUploadBase so that all the names will be the same for each of the
browsers.  IE now gives the absolute file path as the file name,
unlike, e.g. Firefox and Netscape.

Jack

-- 
"You can lead a horse to water but you cannot make it float on its back."
~Dakota Jack~

---------------------------------------------------------------------
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