Skip to content

Commit

Permalink
Automatically disable CSRF protection for SOAP controllers (fixes #107)
Browse files Browse the repository at this point in the history
  • Loading branch information
inossidabile committed Aug 31, 2013
1 parent 79ce221 commit 165fe71
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/wash_out/dispatcher.rb
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ def self.included(controller)
controller.send :before_filter, :_parse_soap_parameters, :except => [ :_generate_wsdl, :_invalid_action ]
controller.send :before_filter, :_authenticate_wsse, :except => [ :_generate_wsdl, :_invalid_action ]
controller.send :before_filter, :_map_soap_parameters, :except => [ :_generate_wsdl, :_invalid_action ]
controller.send :skip_before_filter, :verify_authenticity_token
end

def self.deep_select(hash, result=[], &blk)
Expand Down
2 changes: 1 addition & 1 deletion lib/wash_out/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module WashOut
VERSION = "0.8.2"
VERSION = "0.8.3"
end

0 comments on commit 165fe71

Please sign in to comment.