diff --git a/environment.rb b/environment.rb index af2bc661..eb4289a0 100644 --- a/environment.rb +++ b/environment.rb @@ -86,6 +86,9 @@ end Sinatra::Application.set :erb, escape_html: true +# Session fix for Internet Fucking Explorer https://github.com/rkh/rack-protection/issues/11 +Sinatra::Application.set :protection, except: :session_hijacking + class Sinatra::Base alias_method :render_original, :render def render(engine, data, options = {}, locals = {}, &block)