This is an automated email from the ASF dual-hosted git repository. solomax pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/openmeetings.git
The following commit(s) were added to refs/heads/master by this push: new 8e40be1 [OPENMEETINGS-2472] CSP is updated 8e40be1 is described below commit 8e40be1ef183b76032437a2142f11126864bfe9a Author: Maxim Solodovnik <solomax...@gmail.com> AuthorDate: Sun Oct 4 07:09:08 2020 +0700 [OPENMEETINGS-2472] CSP is updated --- .../java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java index bc5fc77..16c8537 100644 --- a/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java +++ b/openmeetings-db/src/main/java/org/apache/openmeetings/db/dao/basic/ConfigurationDao.java @@ -631,7 +631,7 @@ public class ConfigurationDao implements IDataProviderDao<Configuration> { addCspRule(cspConfig, CSPDirective.CONNECT_SRC, app.getWsUrl(), false); // special code for Safari browser if (!Strings.isEmpty(getGaCode())) { // https://developers.google.com/tag-manager/web/csp#universal_analytics_google_analytics - //addCspRule(cspConfig, CSPDirective.IMG_SRC, "https://www.google-analytics.com"); + addCspRule(cspConfig, CSPDirective.IMG_SRC, "https://www.google-analytics.com"); addCspRule(cspConfig, CSPDirective.SCRIPT_SRC, "https://www.googletagmanager.com"); } oauthDao.getActive().forEach(oauth -> {