1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Delete \r also

This commit is contained in:
Chirag Jog 2013-03-01 13:17:39 +05:30
parent 5a33322361
commit 9e8bb10684

View file

@ -301,7 +301,7 @@ module Fog
# Use this to set the Authorization header for login # Use this to set the Authorization header for login
def authorization_header def authorization_header
"Basic #{Base64.encode64("#{@username}:#{@password}").delete("\n")}" "Basic #{Base64.encode64("#{@username}:#{@password}").delete("\r\n")}"
end end
# Actually do the request # Actually do the request