It seems that Safari matches connections made from a flash application
against connect_src while Firefox uses object_src instead.
Fixes #2067
if %w[potlatch potlatch2].include?(editor)
append_content_security_policy_directives(
if %w[potlatch potlatch2].include?(editor)
append_content_security_policy_directives(
:object_src => %w[*],
:plugin_types => %w[application/x-shockwave-flash],
:script_src => %w['unsafe-inline']
:object_src => %w[*],
:plugin_types => %w[application/x-shockwave-flash],
:script_src => %w['unsafe-inline']