diff options
Diffstat (limited to 'lib/net')
-rw-r--r-- | lib/net/http.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb index 39c58dd521..8ae2889843 100644 --- a/lib/net/http.rb +++ b/lib/net/http.rb @@ -1076,7 +1076,7 @@ module Net # :nodoc: end def basic_encode(account, password) - 'Basic ' + ["#{account}:#{password}"].pack('m').strip + 'Basic ' + ["#{account}:#{password}"].pack('m').delete("\r\n") end private :basic_encode |