Permalink
Browse files

Changed action_dispatch_request to use request.query_string

  • Loading branch information...
jbasdf committed Mar 22, 2012
1 parent d455426 commit 6a1076715d795f079ad5e9ec92b4dab84290119d
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/oauth/request_proxy/action_dispatch_request.rb
@@ -33,7 +33,7 @@ def parameters_for_signature
unless options[:clobber_request]
params << header_params.to_query
- params << request.query_string unless query_string_blank?
+ params << request.query_string unless request.query_string.blank?
if request.post? && request.content_type == Mime::Type.lookup("application/x-www-form-urlencoded")
params << request.raw_post
@@ -45,8 +45,8 @@ def parameters_for_signature
reject(&:blank?).
map { |p| p.split('=').map{|esc| CGI.unescape(esc)} }.
reject { |kv| kv[0] == 'oauth_signature'}
- end
-
+ end
+
protected
def query_params

0 comments on commit 6a10767

Please sign in to comment.