You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (Jira)" <ji...@apache.org> on 2025/11/22 14:35:00 UTC

[jira] [Resolved] (WW-5585) Allow dynamically set "allowedTypes" and "allowedExtensions" for file upload validation

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

Lukasz Lenart resolved WW-5585.
-------------------------------
    Resolution: Fixed

> Allow dynamically set "allowedTypes" and "allowedExtensions" for file upload validation
> ---------------------------------------------------------------------------------------
>
>                 Key: WW-5585
>                 URL: https://issues.apache.org/jira/browse/WW-5585
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core Interceptors
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 7.2.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> {{${...\}}} expressions don't work in interceptor parameters because {{TextParseUtil.commaDelimitedStringToSet()}} is a pure string splitter with no OGNL evaluation, and interceptor parameters are set at startup when no ValueStack exists.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)