rack/rack — pull request #415 by slivu (2012-07-30 14:24:25+00:00)
Title: Avoid SCRIPT_NAME escaping in Rack::Directory

When it serve /, it works just well, cause SCRIPT_NAME is empty and there are nothing to escape.

However, when serving /some-url, the generated links will look like "%2Fsome-url/some-path".