struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Musachy Barroso (JIRA)" <j...@apache.org>
Subject [jira] Assigned: (WW-2580) Add filename argument to acceptFile method in FileUploadInterceptor
Date Mon, 01 Dec 2008 21:51:37 GMT

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

Musachy Barroso reassigned WW-2580:
-----------------------------------

    Assignee: Musachy Barroso

> Add filename argument to acceptFile method in FileUploadInterceptor
> -------------------------------------------------------------------
>
>                 Key: WW-2580
>                 URL: https://issues.apache.org/struts/browse/WW-2580
>             Project: Struts 2
>          Issue Type: New Feature
>    Affects Versions: 2.0.11.1
>            Reporter: Jelmer Kuperus
>            Assignee: Musachy Barroso
>             Fix For: 2.2.x
>
>         Attachments: patch1.diff, patch2.diff
>
>
> It would be quite usefull to extend the acceptFile  method in FileUploadInterceptor with
an additional argument that passes in the original filename. This allows you to filter uploads
based on its extension / name and not merely on the content type. 

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


Mime
View raw message