未验证 提交 e5d6f333 编写于 作者: C Connor Shea

Update image policy to allow external images over HTTPS.

上级 4984d1a6
......@@ -22,7 +22,7 @@ SecureHeaders::Configuration.default do |config|
frame_src: %w('self'),
connect_src: %w('self'),
font_src: %w('self'),
img_src: %w('self' www.gravatar.com secure.gravatar.com),
img_src: %w('self' www.gravatar.com secure.gravatar.com https:),
media_src: %w('none'),
object_src: %w('none'),
script_src: %w('unsafe-inline' 'self' maxcdn.bootstrapcdn.com),
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册