Empty PATH_INFO is (probably) invalid and will (probably) fail in Rack 3.2.
Author: ioquatixCreated Jul 28, 2025Updated Oct 14, 2025
Labelsbug
See https://github.com/rack/rack/pull/2316 and https://github.com/rack/rack/issues/2307 for background.
These two tests use an empty PATH_INFO which is basically invalid:
A web server request must always begin with a / character, e.g.
GET / HTTP/1.0
...There is no way that the PATH_INFO can be an empty string.
Source: sinatra/sinatra