Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit afad69d

Browse files
fix signature bug for ROA
1 parent 500491d commit afad69d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎lib/aliyunsdkcore/roa_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def canonicalized_headers(headers)
115115
end
116116

117117
def canonicalized_resource(uri, query_hash = {})
118-
query_string = query_hash.map { |key, value| "#{key}=#{value}" }.join('&')
118+
query_string = query_hash.sort.map { |key, value| "#{key}=#{value}" }.join('&')
119119
query_string.empty? ? uri : "#{uri}?#{query_string}"
120120
end
121121

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /