[
https://issues.apache.org/jira/browse/WW-5203?focusedWorklogId=799329&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-799329
]
ASF GitHub Bot logged work on WW-5203:
--------------------------------------
Author: ASF GitHub Bot
Created on: 09/Aug/22 13:20
Start Date: 09/Aug/22 13:20
Worklog Time Spent: 10m
Work Description: lukaszlenart opened a new pull request, #588:
URL: https://github.com/apache/struts/pull/588
Fixes [WW-5203](https://issues.apache.org/jira/browse/WW-5203)
Issue Time Tracking
-------------------
Worklog Id: (was: 799329)
Remaining Estimate: 0h
Time Spent: 10m
> lazyPolicyBuilder in DefaultCspSettings is not lazy
> ---------------------------------------------------
>
> Key: WW-5203
> URL: https://issues.apache.org/jira/browse/WW-5203
> Project: Struts 2
> Issue Type: Bug
> Components: Core Interceptors
> Affects Versions: 6.0.0
> Reporter: Guido L. Woestmann
> Priority: Critical
> Fix For: 6.0.1
>
> Attachments: struts-ww-5203-make-lazy.patch,
> struts-ww-5203-normal-supplier.patch
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The "lazyPolicyBuilder" inside DefaultCspSettings is supposed to create the
> CSP-Policy-String only once. But the Variable "hasBeenCalled" isnt set to
> false anywhere, so the String will be created every time.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)