[前][次][番号順一覧][スレッド一覧]

ruby-changes:13092

From: shyouhei <ko1@a...>
Date: Fri, 11 Sep 2009 10:44:15 +0900 (JST)
Subject: [ruby-changes:13092] Ruby:r24840 (trunk): Merge branch 'trunk' of git://github.com/swdyh/ruby into trunk

shyouhei	2009-09-11 10:44:05 +0900 (Fri, 11 Sep 2009)

  New Revision: 24840

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=24840

  Log:
    Merge branch 'trunk' of git://github.com/swdyh/ruby into trunk

  Modified files:
    trunk/lib/net/http.rb

Index: lib/net/http.rb
===================================================================
--- lib/net/http.rb	(revision 24839)
+++ lib/net/http.rb	(revision 24840)
@@ -1525,7 +1525,7 @@
     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
 

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]