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

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

                Author: ASF GitHub Bot
            Created on: 04/Jan/26 16:09
            Start Date: 04/Jan/26 16:09
    Worklog Time Spent: 10m 
      Work Description: sonarqubecloud[bot] commented on PR #1510:
URL: https://github.com/apache/struts/pull/1510#issuecomment-3708213427

   ## [![Quality Gate 
Passed](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/checks/QualityGateBadge/qg-passed-20px.png
 'Quality Gate 
Passed')](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1510) 
**Quality Gate passed**  
   Issues  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 New 
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1510&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/accepted-16px.png
 '') [0 Accepted 
issues](https://sonarcloud.io/project/issues?id=apache_struts&pullRequest=1510&issueStatuses=ACCEPTED)
   
   Measures  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0 Security 
Hotspots](https://sonarcloud.io/project/security_hotspots?id=apache_struts&pullRequest=1510&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [90.4% Coverage on New 
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1510&metric=new_coverage&view=list)
  
   
![](https://sonarsource.github.io/sonarcloud-github-static-resources/v2/common/passed-16px.png
 '') [0.0% Duplication on New 
Code](https://sonarcloud.io/component_measures?id=apache_struts&pullRequest=1510&metric=new_duplicated_lines_density&view=list)
  
     
   [See analysis details on SonarQube 
Cloud](https://sonarcloud.io/dashboard?id=apache_struts&pullRequest=1510)
   
   




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

    Worklog Id:     (was: 998597)
    Time Spent: 20m  (was: 10m)

> Can't specify empty charset on StreamResult
> -------------------------------------------
>
>                 Key: WW-5602
>                 URL: https://issues.apache.org/jira/browse/WW-5602
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Dispatch Filter
>    Affects Versions: 6.8.0
>            Reporter: Andrea Vettori
>            Priority: Minor
>             Fix For: 6.9.0, 7.2.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> When serving binary files using StreamResult the Content Type header should 
> NOT contain a charset specification.
> If the charset is not specified in the StreamResult, UTF-8 is automatically 
> applied.
> If the charset is specified with an expression, and the expression evaluates 
> to null/empty string, an invalid
> ;charset=
> specification is added to the content-type header on the StreamResult.



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

Reply via email to