Allow connect_src to match all sites in Potlatch
It seems that Safari matches connections made from a flash application against connect_src while Firefox uses object_src instead. Fixes #2067
This commit is contained in:
parent
9869f97548
commit
15c96081a6
1 changed files with 1 additions and 0 deletions
|
@ -70,6 +70,7 @@ class SiteController < ApplicationController
|
|||
|
||||
if %w[potlatch potlatch2].include?(editor)
|
||||
append_content_security_policy_directives(
|
||||
:connect_src => %w[*],
|
||||
:object_src => %w[*],
|
||||
:plugin_types => %w[application/x-shockwave-flash],
|
||||
:script_src => %w['unsafe-inline']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue