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

ASF GitHub Bot logged work on KNOX-3567:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 12/Nov/26 13:39
            Start Date: 12/Nov/26 13:39
    Worklog Time Spent: 10m 
      Work Description: bonampak opened a new pull request, #1510:
URL: https://github.com/apache/knox/pull/1510

   
   [KNOX-3567](https://issues.apache.org/jira/browse/KNOX-3567) - 
requestExcludeHeaders should be case insensitive
   
   ## What changes were proposed in this pull request?
   Match request exclude headers case-insensitively in 
`AbstractGatewayDispatch.copyRequestHeaderFields`, 
    so the configured or built-in exclude lists apply regardless of the header 
name's case. 
    
   Matching happens on a case-insensitive copy of 
`getOutboundRequestExcludeHeaders()`, so dispatches that override it are 
covered too.
   
   ## How was this patch tested?
   
   Added unit tests. 
   
   
   




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

            Worklog Id:     (was: 1054272)
    Remaining Estimate: 0h
            Time Spent: 10m

> requestExcludeHeaders should be case insensitive
> ------------------------------------------------
>
>                 Key: KNOX-3567
>                 URL: https://issues.apache.org/jira/browse/KNOX-3567
>             Project: Apache Knox
>          Issue Type: Bug
>    Affects Versions: 3.1.0
>            Reporter: Tamás Marcinkovics
>            Assignee: Tamás Marcinkovics
>            Priority: Trivial
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Dispatch requestExcludeHeaders is only applied when the request header name 
> has exactly the same case as the configured value:
> {{<dispatch 
> classname="org.apache.knox.gateway.dispatch.ConfigurableDispatch">}}
> {{    <param>}}
> {{        <name>requestExcludeHeaders</name>}}
> {{        <value>Accept-Encoding</value>}}
> {{    </param>}}
> {{</dispatch>}}
> Expected result: requestExcludeHeaders should be case-insensitive.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to