1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
aamine 2004-03-28 05:17:13 +00:00
parent 277839dc81
commit 0cf429ce82

View file

@ -748,8 +748,8 @@ module Net
def auth( account, password ) def auth( account, password )
check_response_auth(critical { check_response_auth(critical {
check_response_auth(get_response('USER ' + account)) check_response_auth(get_response('USER %s', account))
get_response('PASS ' + password) get_response('PASS %s', password)
}) })
end end