[ 
https://issues.apache.org/jira/browse/WW-5501?focusedWorklogId=957242&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-957242
 ]

ASF GitHub Bot logged work on WW-5501:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 16/Feb/25 08:01
            Start Date: 16/Feb/25 08:01
    Worklog Time Spent: 10m 
      Work Description: kusalk commented on code in PR #1218:
URL: https://github.com/apache/struts/pull/1218#discussion_r1957264823


##########
core/src/main/java/org/apache/struts2/dispatcher/multipart/AbstractMultiPartRequest.java:
##########
@@ -180,43 +157,16 @@ public List<LocalizedMessage> getErrors() {
      * @return the canonical name based on the supplied filename
      */
     protected String getCanonicalName(final String originalFileName) {
-        return FilenameUtils.getName(originalFileName);

Review Comment:
   Could keep this but not important





Issue Time Tracking
-------------------

    Worklog Id:     (was: 957242)
    Time Spent: 6h 40m  (was: 6.5h)

> Exclude malicious names
> -----------------------
>
>                 Key: WW-5501
>                 URL: https://issues.apache.org/jira/browse/WW-5501
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Lukasz Lenart
>            Assignee: Lukasz Lenart
>            Priority: Major
>             Fix For: 6.8.0, 7.1.0
>
>         Attachments: image-2025-01-09-10-11-17-169.png
>
>          Time Spent: 6h 40m
>  Remaining Estimate: 0h
>




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

Reply via email to