Add support for trailing slashes.
Add support for trailing slashes in urls.