Permalink
Browse files

Merge pull request #1472 from padrino/fix-incorrect-params2

Skip the `:path_traversal` protection, fixes #1391.
  • Loading branch information...
ujifgc committed Oct 23, 2013
2 parents c987037 + 2aa22ea commit ada5a2905834b201b2d6c5f7aeefb90f94cd4249
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 ada5a29

Please sign in to comment.