1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[s3] query should default to empty hash

This commit is contained in:
geemus 2010-06-07 10:31:12 -07:00
parent b03c2d811c
commit 3a52261f71

View file

@ -209,7 +209,7 @@ DATA
end
canonical_resource << "#{params[:path]}"
canonical_resource << '?'
for key in params[:query].keys
for key in (params[:query] || {}).keys
if ['acl', 'location', 'logging', 'requestPayment', 'torrent', 'versions', 'versioning'].include?(key)
canonical_resource << "#{key}&"
end