1
0
Fork 0
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:
geemus 2010-10-01 10:38:15 -07:00
parent 7f218e1802
commit beb934eae2

View file

@ -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