diff options
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/net/pop.rb | 4 |
2 files changed, 7 insertions, 2 deletions
@@ -1,3 +1,8 @@ +Sun Mar 28 14:16:59 2004 Minero Aoki <aamine@loveruby.net> + + * lib/net/pop.rb (auth): failed when account/password include "%". + [ruby-talk:95933] + Sat Mar 27 21:40:41 2004 Tanaka Akira <akr@m17n.org> * (lib/open-uri.rb): permit extra semicolon in content-type field. diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 5ada68fd4..96e10f95b 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 |
