mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
Escape the path for signatures
This commit is contained in:
parent
5b2aaef25e
commit
4b1e581652
1 changed files with 1 additions and 1 deletions
|
@ -343,7 +343,7 @@ DATA
|
|||
unless subdomain.nil? || subdomain == @host
|
||||
canonical_resource << "#{CGI.escape(subdomain).downcase}/"
|
||||
end
|
||||
canonical_resource << params[:path].to_s
|
||||
canonical_resource << CGI.escape(params[:path].to_s).gsub('%2F', '/')
|
||||
canonical_resource << '?'
|
||||
for key in (params[:query] || {}).keys
|
||||
if %w{acl location logging notification partNumber policy requestPayment torrent uploadId uploads versionId versioning versions}.include?(key)
|
||||
|
|
Loading…
Reference in a new issue