From 0f158ab387b2587e85600f9f1a6ac524ba5b09c2 Mon Sep 17 00:00:00 2001 From: aamine Date: Sun, 28 Mar 2004 05:17:13 +0000 Subject: * lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/pop.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/net/pop.rb') diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 5ada68fd4d..96e10f95bd 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -739,8 +739,8 @@ module Net def auth( account, password ) check_response_auth(critical { - check_response_auth(get_response('USER ' + account)) - get_response('PASS ' + password) + check_response_auth(get_response('USER %s', account)) + get_response('PASS %s', password) }) end -- cgit v1.2.3