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=23255>.
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=23255

FormFile#getFileName() problem in multibyte character file name

           Summary: FormFile#getFileName() problem in multibyte character
                    file name
           Product: Struts
           Version: 1.1 Final
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: File Upload
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to