Skip to content

Commit

Permalink
Skip the :path_traversal protection, fixes #1391.
Browse files Browse the repository at this point in the history
  • Loading branch information
namusyaka committed Oct 23, 2013
1 parent c987037 commit 2aa22ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion padrino-core/lib/padrino-core/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def default_paths!
end

def default_security!
set :protection, true
set :protection, :except => :path_traversal
set :authentication, false
set :sessions, false
set :protect_from_csrf, false
Expand Down

0 comments on commit 2aa22ea

Please sign in to comment.