[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
1 changed files with 1 additions and 1 deletions

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