summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-11 01:44:05 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-09-11 01:44:05 +0000
commit607b8e0732f6aaa83cf807ba22034968d40f0ea6 (patch)
treefa22267dabe55ed1771ccfde895789e5a88c7385 /lib
parent0966635873d0237c615aced5860802a8a953ff64 (diff)
Merge branch 'trunk' of git://github.com/swdyh/ruby into trunk
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/net/http.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/http.rb b/lib/net/http.rb
index 272a63b3b7..017a711ee6 100644
--- a/lib/net/http.rb
+++ b/lib/net/http.rb
@@ -1525,7 +1525,7 @@ module Net #:nodoc:
alias form_data= set_form_data
def encode_kvpair(k, vs)
- Array(vs).map {|v| "#{urlencode(k)}=#{urlencode(v.to_s)}" }
+ Array(vs).map {|v| "#{urlencode(k.to_s)}=#{urlencode(v.to_s)}" }
end
private :encode_kvpair