mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Added missing header
Google's [CORS implementation](https://developers.google.com/storage/docs/cross-origin) implements a canonical resource parameter that was not included in the hashed headers.
This commit is contained in:
parent
2e0d13d4be
commit
8d59509687
1 changed files with 1 additions and 1 deletions
|
@ -243,7 +243,7 @@ DATA
|
|||
canonical_resource << "#{params[:path]}"
|
||||
canonical_resource << '?'
|
||||
for key in (params[:query] || {}).keys
|
||||
if ['acl', 'location', 'logging', 'requestPayment', 'torrent', 'versions', 'versioning'].include?(key)
|
||||
if ['acl', 'cors', 'location', 'logging', 'requestPayment', 'torrent', 'versions', 'versioning'].include?(key)
|
||||
canonical_resource << "#{key}&"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue