diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-12-05 18:16:41 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2017-12-05 18:16:41 +0900 |
commit | 7efb4d23c1022108319add6218ae9d9284936ac5 (patch) | |
tree | 3f85aa4aec7ac50964ea27a12436a38284e90abe | |
parent | 0f8568f58d36a543f9eb423171f42731784b34af (diff) | |
download | rails-7efb4d23c1022108319add6218ae9d9284936ac5.tar.gz rails-7efb4d23c1022108319add6218ae9d9284936ac5.tar.bz2 rails-7efb4d23c1022108319add6218ae9d9284936ac5.zip |
Add missing require
Follow up of 3c442b6df91e291ebbf17f37444414bf5f10fbe6
Without this require, it will fail when run CSP test alone.
Ref: https://travis-ci.org/rails/rails/jobs/311715758#L2976
-rw-r--r-- | actionpack/lib/action_dispatch/http/content_security_policy.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/lib/action_dispatch/http/content_security_policy.rb b/actionpack/lib/action_dispatch/http/content_security_policy.rb index c888a27720..4883e23d24 100644 --- a/actionpack/lib/action_dispatch/http/content_security_policy.rb +++ b/actionpack/lib/action_dispatch/http/content_security_policy.rb @@ -1,5 +1,7 @@ # frozen_string_literal: true +require "active_support/core_ext/object/deep_dup" + module ActionDispatch #:nodoc: class ContentSecurityPolicy class Middleware |