senchalabs/connect — pull request #445 by luuvish (2011-12-22 18:26:04+00:00)
Title: When route is not '/', req.url that is not trailing '/' causes incorrect response.

server = connect.createServer();
server.use('/any-path', connect.static(__dirname + '/public'));

When req.url is 'http://any-domain/any-path',
static middleware will response with 'http://any-domain/any-path/index.html'.

But the request of web browser is '/any-path', not '/any-path/'. the browser mis-guesses the path of request is '/', not '/any-path/'.