[
https://issues.apache.org/jira/browse/WW-5616?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lukasz Lenart updated WW-5616:
------------------------------
Fix Version/s: 6.9.0
> JakartaStreamMultiPartRequest warns on file delete if the file doesnt exist
> ---------------------------------------------------------------------------
>
> Key: WW-5616
> URL: https://issues.apache.org/jira/browse/WW-5616
> Project: Struts 2
> Issue Type: Bug
> Affects Versions: 6.8.0
> Reporter: Brian Andle
> Priority: Minor
> Fix For: 6.9.0
>
>
> In the 6.x branch version of JakartaStreamMultiPartRequest.java we don't
> check that the file exists on cleanup and so the warn log message could raise
> unintentional concerns including potentially security concerts. The non
> stream version does an exists check (although maybe should have a isFile
> check instead).
>
> The main/7.x does a isFile check first in the cleanup in the Abstract so it's
> already addressed in 7.x.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)