@forge/csp
5.6.0-next.2-experimental-90651455.6.0
out/csp/csp-processing-service.jsout/csp/csp-processing-service.js+1−1
Index: package/out/csp/csp-processing-service.js
===================================================================
--- package/out/csp/csp-processing-service.js
+++ package/out/csp/csp-processing-service.js
@@ -139,8 +139,8 @@
if (!this.isSafeCsp(cspContent)) {
this.logger.info('discarding potentially-malicious CSP');
return {};
}
- return (0, content_security_policy_parser_1.default)(cspContent);
+ return Object.fromEntries((0, content_security_policy_parser_1.default)(cspContent));
}
}
exports.CSPProcessingService = CSPProcessingService;