Permalink
Browse files

Skip the `:path_traversal` protection, fixes #1391.

  • Loading branch information...
namusyaka committed Oct 23, 2013
1 parent c987037 commit 2aa22ea7883227e6130447640bf9537694933c65
Showing with 1 addition and 1 deletion.
  1. +1 −1 padrino-core/lib/padrino-core/application.rb
@@ -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

0 comments on commit 2aa22ea

Please sign in to comment.