mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
fix typo
This commit is contained in:
parent
87161229d9
commit
d3f26ab7a0
1 changed files with 3 additions and 1 deletions
|
@ -215,7 +215,9 @@ module Fog
|
|||
|
||||
def canonicalize_resource(uri)
|
||||
resource = "/"
|
||||
resource << "#{match[1]}/" if match = uri.host.match(/(.*).s3.amazonaws.com/)
|
||||
if match = uri.host.match(/(.*).s3.amazonaws.com/)
|
||||
resource << "#{match[1]}/"
|
||||
end
|
||||
resource << "#{uri.path[1..-1]}" if uri.path
|
||||
resource << "?acl" if uri.to_s.include?('?acl')
|
||||
resource << "?location" if uri.to_s.include?('?location')
|
||||
|
|
Loading…
Add table
Reference in a new issue