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:
parent
277839dc81
commit
0cf429ce82
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue