You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by lu...@apache.org on 2022/09/02 08:19:59 UTC
[struts] 01/01: Merge pull request #593 from apache/WW-5218-disable
This is an automated email from the ASF dual-hosted git repository.
lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git
commit 8c4a90f6e3b20697d3e57134a983b2c694e5fe75
Merge: 58a76162a 16c2948f1
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Fri Sep 2 10:19:48 2022 +0200
Merge pull request #593 from apache/WW-5218-disable
[WW-5218] Allows to disable CSP related interceptors
.../struts2/interceptor/CoepInterceptor.java | 19 ++++--
.../struts2/interceptor/CoopInterceptor.java | 22 ++++---
.../interceptor/FetchMetadataInterceptor.java | 67 +++++++++++++---------
.../struts2/interceptor/csp/CspInterceptor.java | 26 +++++++--
.../interceptor/csp/DefaultCspSettings.java | 4 +-
core/src/main/resources/struts-default.xml | 8 ++-
.../struts2/interceptor/CoopInterceptorTest.java | 12 +++-
.../struts2/interceptor/CspInterceptorTest.java | 19 ++++--
.../interceptor/FetchMetadataInterceptorTest.java | 48 ++++++++++------
9 files changed, 152 insertions(+), 73 deletions(-)