[ 
https://issues.apache.org/struts/browse/WW-2787?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Musachy Barroso resolved WW-2787.
---------------------------------

    Resolution: Won't Fix

I verified this ticket. The content type is not sent by Safary, there isn't 
much that we can do.

> 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
>             Fix For: 2.1.3
>
>
> 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