diff options
| author | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-28 05:17:13 +0000 |
|---|---|---|
| committer | aamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-28 05:17:13 +0000 |
| commit | 762cb12922db2432a4f41fc30bce6c4c0bf0f403 (patch) | |
| tree | bdb4c973d1d9620b99b84f237d3c7a13c8ba12ba /lib/net | |
| parent | be7fc487ab5d856403eb2dfcaea2b87ad30e8d03 (diff) | |
| download | ruby-762cb12922db2432a4f41fc30bce6c4c0bf0f403.tar.gz ruby-762cb12922db2432a4f41fc30bce6c4c0bf0f403.tar.xz ruby-762cb12922db2432a4f41fc30bce6c4c0bf0f403.zip | |
* lib/net/pop.rb (auth): failed when account/password include "%". [ruby-talk:95933]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -rw-r--r-- | lib/net/pop.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |
