laravel/laravel — pull request #1443 by j20 (2012-11-13 15:21:35+00:00)
Title: Fix for https://github.com/laravel/laravel/issues/1412

This fixes an issue where URLs with extraneous slashes were returning page content, but should 404. #1412 URL's containing 2 or more consecutive slashes (//) will now return 404.

E.g. domain.com/////about, domain.com/about////, and domain.com// now return 404 as expected.

One item of test data was removed that should actually be expected to fail the test--e.g. array('//', '/'). Also, it might be a good idea to add a test method to ensure that the above URL's are invalid or return 404, but I wasn't sure how to best set that up.