diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/webrick/httputils.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/webrick/httputils.rb b/lib/webrick/httputils.rb index 67bc281c5d..2a65552f20 100644 --- a/lib/webrick/httputils.rb +++ b/lib/webrick/httputils.rb @@ -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) |