On Thu, Jan 18, 2018 at 10:18:29AM +0000, Stuart Henderson wrote:
> I think it should skip redirecting for "". You can't actually issue an
> HTTP request for http://example.com (without the trailing slash).
> 
True, but shouldn't a "GET /" have PATH_INFO set to "/", just like "GET
/foo" results in PATH_INFO set to "/foo"?

Other servers seem to handle this the same way. In the end, it appears
to be a question of semantics, but since other servers don't have this
problem, I'd go with simply setting it to "/" for root requests.

Reply via email to