diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2015-04-06 10:42:34 -0300 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2015-06-18 14:06:42 -0700 |
commit | 9ca798fd67bae63143ca2345dd8278d6ffdfd7e5 (patch) | |
tree | 036dc2588e2175345a149a1c555fb1446c5cf7dc | |
parent | 134d6218d0881d87ae6a522e88eafbddb6cd1bb7 (diff) | |
download | rack-9ca798fd67bae63143ca2345dd8278d6ffdfd7e5.tar.gz |
Give parse_query's second argument a default value
-rw-r--r-- | lib/rack/request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rack/request.rb b/lib/rack/request.rb index d02a1f36..6e00285e 100644 --- a/lib/rack/request.rb +++ b/lib/rack/request.rb @@ -365,7 +365,7 @@ module Rack ip_addresses.reject { |ip| trusted_proxy?(ip) } end - def parse_query(qs, d) + def parse_query(qs, d='&') Utils.parse_nested_query(qs, d) end |