summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-28 05:17:13 +0000
committeraamine <aamine@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-28 05:17:13 +0000
commit0f158ab387b2587e85600f9f1a6ac524ba5b09c2 (patch)
treebdb4c973d1d9620b99b84f237d3c7a13c8ba12ba
parent4e38b50c5e67b1054c209253777f2565c0acb27e (diff)
* 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
-rw-r--r--ChangeLog5
-rw-r--r--lib/net/pop.rb4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index e9d1d8bc4b..20216f2e40 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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 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