codeguy/Slim — pull request #286 by michael-h (2012-04-18 23:19:57+00:00)
Title: 1.6 regression: SCRIPT_NAME broken in Windows environments

On Windows, `$env['SCRIPT_NAME']` contains an unwanted backslash, breaking `Slim_Http_Request::getScriptName` and `Slim_Http_Request::getRootUri`.

The tests for this exist already, and they fail as expected on Windows.

This can easily be fixed by changing a single line, setting `SCRIPT_NAME` the way it was done in Slim 1.5.