parent
7e11d27512
commit
66ec3cd845
1 changed files with 4 additions and 0 deletions
|
@ -75,6 +75,10 @@ class SiteController < ApplicationController
|
|||
:plugin_types => %w[application/x-shockwave-flash],
|
||||
:script_src => %w['unsafe-inline']
|
||||
)
|
||||
elsif %w[id].include?(editor)
|
||||
append_content_security_policy_directives(
|
||||
:frame_src => %w[blob:]
|
||||
)
|
||||
end
|
||||
|
||||
begin
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue