struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Evans (JIRA)" <j...@apache.org>
Subject [jira] Closed: (STR-1757) FormFile.getFileName() problem in multibyte character file name
Date Tue, 25 Apr 2006 18:50:47 GMT
     [ http://issues.apache.org/struts/browse/STR-1757?page=all ]
     
David Evans closed STR-1757:
----------------------------

    Resolution: Fixed

> FormFile.getFileName() problem in multibyte character file name
> ---------------------------------------------------------------
>
>          Key: STR-1757
>          URL: http://issues.apache.org/struts/browse/STR-1757
>      Project: Struts Action 1
>         Type: Bug

>   Components: Action
>     Versions: 1.1 Final
>  Environment: Operating System: All
> Platform: All
>     Reporter: miyamiya
>     Assignee: David Evans
>      Fix For: 1.2 Family
>  Attachments: CommonsMultipartRequestHandler.java.diff
>
> CommonsMultipartRequestHandler#handleRequest(HttpServletRequest)
> used "DiskFileUpload" 
> but not called
> DiskFileUpload#setHeaderEncoding(String)
> so
> I can't get file name correctry 
> when the browzer(html) character encoding is different from servlet container.
> I think like following statement in handleRequest method.
> ------------------------------------------------------
> String encoding = request.getCharacterEncoding();
> upload.setHeaderEncoding(encoding);
> ------------------------------------------------------

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/struts/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


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


Mime
View raw message