summaryrefslogtreecommitdiffstats
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
commit192b4dffb75cef7414986de1a72d3bcd6a9507e7 (patch)
treefa22267dabe55ed1771ccfde895789e5a88c7385 /lib
parent52d362838a808ff402870ab707add35748eb5aba (diff)
downloadruby-192b4dffb75cef7414986de1a72d3bcd6a9507e7.tar.gz
ruby-192b4dffb75cef7414986de1a72d3bcd6a9507e7.tar.xz
ruby-192b4dffb75cef7414986de1a72d3bcd6a9507e7.zip
Merge branch 'trunk' of git://github.com/swdyh/ruby into trunk
git-svn-id: http://svn.ruby-lang.org/repos/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 272a63b3b..017a711ee 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