europaphp / skeleton

A feather-weight, extremely-fast, diverse, scalable and productive PHP 5.4 View Controller framework.
17 stars 9 forks source link

Last parameter and suffix matching. #79

Closed russholio closed 12 years ago

russholio commented 12 years ago

If a suffix was added to the request string http://localhost/foo/bar.json

This extension was being passed to the matching route as part of the parameter bar.json was matching as the parameter.

This change means that only the bar matches

treshugart commented 12 years ago

So, since the refactor, this really isn't necessary anymore :)