1
0
Fork 0
mirror of https://github.com/sinatra/sinatra synced 2023-03-27 23:18:01 -04:00
This commit is contained in:
Konstantin Haase 2011-05-25 11:57:25 +02:00
parent a1a5378cde
commit b822958cd1
3 changed files with 2 additions and 2 deletions

View file

@ -12,7 +12,7 @@ module Rack
autoload :PathTraversal, 'rack/protection/path_traversal'
autoload :RemoteReferrer, 'rack/protection/remote_referrer'
autoload :RemoteToken, 'rack/protection/remote_token'
autoload :SessionHijacking, 'rack/protection/session_hihacking'
autoload :SessionHijacking, 'rack/protection/session_hijacking'
autoload :XSSHeader, 'rack/protection/xss_header'
def self.new(app, options = {})
@ -24,7 +24,7 @@ module Rack
use PathTraversal, options unless except.include? :path_traversal
use RemoteReferrer, options unless except.include? :remote_referrer
use RemoteToken, options unless except.include? :remote_token
use SessionHijacking, options unless except.include? :session_hihacking
use SessionHijacking, options unless except.include? :session_hijacking
use XSSHeader, options unless except.include? :xss_header
run app
end.to_app