Created
March 22, 2011 02:10
-
-
Save mtodd/880637 to your computer and use it in GitHub Desktop.
git.diff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/fog/storage/aws.rb b/lib/fog/storage/aws.rb | |
index dfb66a0..0ec0d6d 100644 | |
--- a/lib/fog/storage/aws.rb | |
+++ b/lib/fog/storage/aws.rb | |
@@ -65,7 +65,7 @@ module Fog | |
query << "AWSAccessKeyId=#{@aws_access_key_id}" | |
query << "Signature=#{CGI.escape(signature(params))}" | |
query << "Expires=#{params[:headers]['Date']}" | |
- "https://#{@host}/#{params[:path]}?#{query.join('&')}" | |
+ "#{@scheme}://#{@host}/#{params[:path]}?#{query.join('&')}" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment