Skip to content

Commit 4c3936c

Browse files
Update oauth.rb
1 parent 207135f commit 4c3936c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/woocommerce_api/oauth.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def get_oauth_url
4242
params["oauth_timestamp"] = Time.new.to_i
4343
params["oauth_signature"] = CGI::escape(generate_oauth_signature(params, url))
4444

45-
query_string = URI::encode_www_form_component(params.map{|key, value| "#{key}=#{value}"}.join("&"))
45+
query_string = URI::encode_www_form(params.map{|key, value| "#{key}=#{value}"}.join("&"))
4646

4747
"#{url}?#{query_string}"
4848
end

0 commit comments

Comments
 (0)