mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage] fix bug where path would get overridden and break signing
This commit is contained in:
parent
7f218e1802
commit
beb934eae2
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ DATA
|
|||
subdomain = nil
|
||||
end
|
||||
|
||||
canonical_resource = @path
|
||||
canonical_resource = @path.dup
|
||||
unless subdomain.nil? || subdomain == @host
|
||||
canonical_resource << "#{CGI.escape(subdomain).downcase}/"
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue