cfwheels/cfwheels — pull request #51 by dhumphreys (2012-04-06 21:00:22+00:00)
Title: Made changes to urlFor() to improve formatting of generated URLs

We had this change in our work code base. It more reliably cleans up generated URLs by replacing any number of consecutive slashes with a single slash. It also strips off the final slash in the URL, while making sure not to destroy the root route "/".