* parse.y (ret_args): node may be NULL. [ruby-talk:84530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4852 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
27ce94a366
commit
91d2e58f1d
@ -1,3 +1,7 @@
|
||||
Wed Oct 29 11:27:39 2003 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* parse.y (ret_args): node may be NULL. [ruby-talk:84530]
|
||||
|
||||
Tue Oct 28 15:20:12 2003 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* ext/tcltklib/tcltklib.c (VwaitVarProc, ip_rbVwaitObjCmd,
|
||||
|
@ -891,7 +891,7 @@ class CGI
|
||||
# # "name2" => ["value1", "value2", ...], ... }
|
||||
#
|
||||
def CGI::parse(query)
|
||||
params = Hash.new([])
|
||||
params = Hash.new{|hash,key|hash[key]=[]}
|
||||
|
||||
query.split(/[&;]/n).each do |pairs|
|
||||
key, value = pairs.split('=',2).collect{|v| CGI::unescape(v) }
|
||||
|
Loading…
x
Reference in New Issue
Block a user