mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
fix sessions for Internet Fucking Explorer
This commit is contained in:
parent
5c438b40c0
commit
aadc03e5fc
1 changed files with 3 additions and 0 deletions
|
@ -86,6 +86,9 @@ end
|
||||||
|
|
||||||
Sinatra::Application.set :erb, escape_html: true
|
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
|
class Sinatra::Base
|
||||||
alias_method :render_original, :render
|
alias_method :render_original, :render
|
||||||
def render(engine, data, options = {}, locals = {}, &block)
|
def render(engine, data, options = {}, locals = {}, &block)
|
||||||
|
|
Loading…
Add table
Reference in a new issue