solomax commented on a change in pull request #93:
URL: https://github.com/apache/openmeetings/pull/93#discussion_r427707380
##########
File path:
openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java
##########
@@ -573,6 +574,11 @@ private void addCspRule(CSPHeaderConfiguration cspConfig,
CSPDirective key, Stri
public void updateCsp() {
setGaCode(getString(CONFIG_GOOGLE_ANALYTICS_CODE, null));
+ if (!getBool(CONFIG_CSP_ENABLED, true)) {
+
WebApplication.get().getCspSettings().blocking().disabled();
Review comment:
@CkNoSFeRaTU Can I ask you to add **Very Visible** warning `log.warn`
here?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]