1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_query): should

discard if key=val pair is empty. patch from Gary Wright.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
gotoyuzo 2005-06-25 08:16:16 +00:00
parent 9480c6b720
commit 41d2099e96
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Sat Jun 25 17:12:20 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_query): should
discard if key=val pair is empty. patch from Gary Wright.
Sat Jun 25 15:49:18 2005 Nobuyoshi Nakada <nobu@ruby-lang.org>
* enum.c (enum_min, enum_max, enum_min_by, enum_max_by): do not ignore
@ -79,7 +84,7 @@ Mon Jun 20 01:26:49 2005 GOTOU Yuuzou <gotoyuzo@notwork.org>
* ext/openssl/openssl_missing.c, ext/openssl/ossl.h,
ext/openssl/ossl_asn1.c, ext/openssl/ossl_bio.c,
ext/openssl/ossl_pkcs12.h, ext/openssl/ossl_x509req.c: avoid
compiler warnings. suggested by Mical Rokos.
compiler warnings. suggested by Michal Rokos.
Sun Jun 19 17:22:02 CEST 2005 Michael Neumann <mneumann@ruby-lang.org>

View file

@ -294,6 +294,7 @@ module WEBrick
query = Hash.new
if str
str.split(/[&;]/).each{|x|
next if x.empty?
key, val = x.split(/=/,2)
key = unescape_form(key)
val = unescape_form(val.to_s)