hanicz opened a new pull request, #1008:
URL: https://github.com/apache/knox/pull/1008

   …opying the HSTS header if its already set
   
   ## What changes were proposed in this pull request?
   
   [KNOX-3111](https://issues.apache.org/jira/projects/KNOX/issues/KNOX-3111) 
introduced a bug. If the global settings for HSTS is set and the topology wide 
setting is disabled the HSTS header is duplicated in case the proxied service 
also adds its own header. This PR adds verification to the response header copy 
method that checks whether this header is already set or not.
   
   Also added `includeSubDomains` to the default global setting.
   
   ## How was this patch tested?
   New unit tests
   Manually tests


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@knox.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to