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/08/25 05:30:23 UTC

[struts] 01/01: Merge pull request #590 from apache/WW-5215-csp-session

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 253d8558e55737084f56a0fab3c32ee3deee9cee
Merge: a97ee9e9c 2707bf048
Author: Lukasz Lenart <lu...@apache.org>
AuthorDate: Thu Aug 25 07:30:17 2022 +0200

    Merge pull request #590 from apache/WW-5215-csp-session
    
    [WW-5215] Checks if session was already created before applying CSP settings

 .../struts2/interceptor/csp/CspInterceptor.java    |  5 +-
 .../struts2/interceptor/csp/CspSettings.java       |  9 +++
 .../interceptor/csp/DefaultCspSettings.java        | 83 +++++++++++---------
 .../struts2/interceptor/CspInterceptorTest.java    | 91 ++++++++++++----------
 .../freemarker/FreemarkerResultMockedTest.java     |  2 +
 5 files changed, 114 insertions(+), 76 deletions(-)