assachs commented on PR #1174:
URL: https://github.com/apache/struts/pull/1174#issuecomment-2571637777
I'm not sure if i missed something.
In DefaultCSPSettings, when creating the poplicy format, the nonce is always
taken from the session
` return format(policyFormatBuilder.toString(),
**getNonceString(request));**
}
protected String getNonceString(HttpServletRequest request) {
Object nonce = **request.getSession().getAttribute(NONCE_KEY);**
return Objects.toString(nonce);
}`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]