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 2023/02/18 15:15:04 UTC
[struts] 01/01: Merge pull request #658 from apache/WW-5275-custom-csp
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 31a24ee70972f54b9c32094d3a5250e5f6035f87
Merge: 930c6de80 68a401aac
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Sat Feb 18 16:14:54 2023 +0100
Merge pull request #658 from apache/WW-5275-custom-csp
[WW-5275] Allows to provide a custom CspSettings per action
.../apache/struts2/action/CspSettingsAware.java | 33 +++++++++++++
.../struts2/interceptor/csp/CspInterceptor.java | 45 +++++++++++++-----
.../struts2/interceptor/csp/CspSettings.java | 8 +++-
.../interceptor/csp/DefaultCspSettings.java | 8 ++++
.../struts2/interceptor/CspInterceptorTest.java | 54 ++++++++++++++--------
5 files changed, 116 insertions(+), 32 deletions(-)