If brawser is safari and uploaded file type is not known mime (file.incx for 
example) then FileUploadInterceptor error occurs
-----------------------------------------------------------------------------------------------------------------------------

                 Key: WW-2787
                 URL: https://issues.apache.org/struts/browse/WW-2787
             Project: Struts 2
          Issue Type: Bug
         Environment: Safari
            Reporter: Irina Dinarieva


When I try to upload file in safari browser with 
<s:form name="uploadForm" method="POST" enctype="multipart/form-data"> <s:file 
name="FileName"/> etc. then
if file is one of standard types txt, htm, etc all is ok. But when it is not 
standard type like *.incx (which is standard for Adobe apps) then I get
2008-08-25 19:14:40,281 ERROR 
org.apache.struts2.interceptor.FileUploadInterceptor - Could not find a 
Content-Type for FileName. Verify that a valid file was submitted.
Other browsers pass applicaton/octet-stream in this case but seems that safari 
doesn't and I don't get any file parameters in my actiom then. I think that 
this is a bug but is there any workaround for now?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to