diff --git a/lib/fog/aws/storage.rb b/lib/fog/aws/storage.rb index 5fbcf9544..5e078d097 100644 --- a/lib/fog/aws/storage.rb +++ b/lib/fog/aws/storage.rb @@ -190,6 +190,7 @@ module Fog params = request_params(params) params[:headers][:host] = params[:host] + params[:headers][:host] += ":#{params[:port]}" if params.fetch(:port, nil) signature_query_params = @signer.signature_parameters(params, now, "UNSIGNED-PAYLOAD") params[:query] = (params[:query] || {}).merge(signature_query_params)