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:
parent
5a33322361
commit
9e8bb10684
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue