[ 
https://issues.apache.org/jira/browse/WW-5203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17578428#comment-17578428
 ] 

ASF subversion and git services commented on WW-5203:
-----------------------------------------------------

Commit 915386816b0ecb150526e181a1d1da1adf62b501 in struts's branch 
refs/heads/master from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=915386816 ]

Merge pull request #588 from apache/WW-5203-lazy-builder

[WW-5203] Re-builds policy string on each call

> 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: 0.5h
>  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)

Reply via email to