mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
0966635873
commit
607b8e0732
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue