Skip to content

Commit bc4cf2d

Browse files
authored
Refine exceptions (#240)
* Add ContentSecurityPolicyFilter.registerAllowedSources()
1 parent fceca91 commit bc4cf2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mGAP/src/org/labkey/mgap/mGAPModule.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,9 @@ public void doStartupAfterSpringConfig(ModuleContext moduleContext)
108108

109109
SystemMaintenance.addTask(new mGapMaintenanceTask());
110110

111-
ContentSecurityPolicyFilter.registerAllowedSources(Directive.Connection, this.getClass().getName(), "https://*.fontawesome.com", "https://code.jquery.com");
111+
ContentSecurityPolicyFilter.registerAllowedSources(Directive.Connection, this.getClass().getName(), "https://code.jquery.com");
112112
ContentSecurityPolicyFilter.registerAllowedSources(Directive.Style, this.getClass().getName(), "https://code.jquery.com", "https://www.gstatic.com");
113+
ContentSecurityPolicyFilter.registerAllowedSources(Directive.Font, this.getClass().getName(), "https://*.fontawesome.com");
113114

114115
new PipelineStartup();
115116
}

0 commit comments

Comments
 (0)