You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by Dakota Jack <da...@gmail.com> on 2005/04/11 06:48:03 UTC

[PATCH] [fileupload]

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-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org