Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
Rack::QueryParser
with nil
missing value.
Rack 3 follows the WhatWG standard for the query parser. This deviates from Rack 2 as `?a` as a query string is was previously interpreted as `{"a" => nil}` but is now interpreted as `{"a" => ""}`. Rails depends on the previous behaviour for compatibility, so we introduced hooks into Rack to restore compatibility.
- Loading branch information