mirror of
https://github.com/neocities/neocities.git
synced 2025-04-24 17:22:35 +02:00
Merge branch 'v2' of github.com:neocities/neocities into v2
This commit is contained in:
commit
70f2f70750
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue