senchalabs/connect — pull request #941 by dougwilson (2013-10-23 13:38:20+00:00)
Title: Fix a bug in the new static root redirect w.r.t. trailing slashes

This fixes a bug where the static middleware did not properly detect that the pathname ended in a slash before sending a redirect for the root mount point.

Fixes visionmedia/express#1789