Sha256: 685e3c3858f7cb84a70afc17f44df4f854e1ab3d6cff142f5ce50152d61bcdbe

Contents?: true

Size: 309 Bytes

Versions: 6

Compression:

Stored size: 309 Bytes

Contents

# encoding: utf-8

# This monkeypatch is needed to ensure the X-Frame-Options header is
# never set by rack-protection.
module Rack
  module Protection
    class FrameOptions < Base
      def call(env)
        status, headers, body = @app.call(env)
        [status, headers, body]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
daiku-0.2.2 lib/daiku/_app/lib/core_ext/frame_options.rb
daiku-0.2.1 lib/daiku/_app/lib/core_ext/frame_options.rb
daiku-0.2.0 lib/daiku/_app/lib/core_ext/frame_options.rb
daiku-0.1.1 lib/daiku/_app/lib/core_ext/frame_options.rb
daiku-0.1.0 lib/daiku/_app/lib/core_ext/frame_options.rb
daiku-0.0.12 lib/daiku/_app/lib/core_ext/frame_options.rb