rack/rack — pull request #675 by keithduncan (2014-04-10 16:07:27+00:00)
Title: Fix `clean_path_info` for paths with only a slash

When using `Rack::Static` to serve from the root and requesting the root resource, it attempts to `clean_path_info("/")` which results in an exception because the `clean` array is empty.

This fixes it by prepending the slash if `clean` is empty or the first element is empty.